What's the Flash equivalent of FlexEvent.CREATION_COMPLETE

Posted by John on Stack Overflow See other posts from Stack Overflow or by John
Published on 2011-01-07T15:53:06Z Indexed on 2011/01/07 18:53 UTC
Read the original article Hit count: 185

Filed under:
|
|

I'm moving some Flex classes to pure Flash/AS3 to be part of a shared library. I have an event listener on FlexEvent.CREATION_COMPLETE to create and add display-objects once things are running, but I don't know the right way to do this in Flash?

edit: Maybe if my class subclasses Sprite rather than a Flex class, I can add children in the constructor, I don't need to wait for a "construction complete" event?

© Stack Overflow or respective owner

Related posts about flex

Related posts about flash