I am drawing an image to the screen by calling a function that programmatically creates the display object by choosing numbered PNGs. The next time the function is called, the variable holding the original display object now holds the new one and the old is still visible. How might I kill the old before displaying the new while preserving the original reference. Global definitions -> removeSelf seems to keep the overwrite from displaying.
EDIT: A global definition + display.remove(image) seems to do the trick. Is this freeing up the memory of the object first displayed? [import]uid: 13050 topic_id: 13696 reply_id: 313696[/import]