So far my favorite events are Event.ADDED_TO_STAGE and Event.REMOVED_FROM_STAGE, they just makes things that much easier.
For instance, I have a SimpleToolTip class that all you have to do is addChild and removeChild to manage it. When its added to the stage, I initialize everything that I need to turn on, when I remove it I turn everything back off.
Its just nice and clean.




No Comments »
No comments yet.
RSS feed for comments on this post. TrackBack URI
Leave a comment