I want to run a function after a movieclip is added to the display list (using addChild) and becomes visible. I have tried the event ADDED, but that fires right away, before the movieclip is visible. If I use the event ADDED_TO_STAGE it never fires for some reason. Does anyone else do this sort of thing?
If you want more details please read on…
I have read the following posts:
and
but it just seems like the post was suggesting to use events, which tpann and I are. It doesn’t seem to say why the ADDED_TO_STAGE event would not work. Am I missing something?
The function that I call hogs the CPU for several seconds, so I want to be able to have the movieclip visible before that happens, the movieclip is a static “Loading” screen. This way the user knows the game hasn’t frozen on them.
Thanks for any help.