Maybe I’m overlooking something really obvious here but is it possible to write a reset function in flash without keeping track and deleting all your assets and event listeners one by one in AS3?
In as2 I used to make sure everything was inside one all encompassing container movieclip which I ditched using removeMovieclip when it was no longer needed, then running my init function again.
But in AS3 you’re supposed to use the removeChild function which only removes the container from the display list, leaving the game pretty much up and running albeit invisibe.
Is it possible to write a simple function that’ll ditch the container and everything running inside or do I need to write an extensive function that’ll stop every event broadcaster and listener as well as null all the movieclip references and such?