Yes my questions are basic, but I hunted high and low for some answers before turning here.
I have an app that loads a remote image and uses it as a sprite sheet. This works wonderfully.
From time to time this image is updated, and I need to reload the image and play it back. I have some questions about the best way to do this.
First:
When exactly is the image loaded? Does this happen upon creation of the sprite sheet or does it happen at prepare() or add()? I ask, because if the image is updated in the file system then all I really need to do is reload it - in theory.
Second:
If I can’t do it that way then do I need to actually dispose() my sprite sheet every time I reload it? This also removes the attendant sprite according to the docs. So what I need to do is actually create a whole new sprite, move it up the display list to cover the old one and then call dispose? Is that right?
Is there a recommended way to do something like this?
[import]uid: 11419 topic_id: 20834 reply_id: 320834[/import]
