MCE is a class with static methods to instantiate MovieClips dynamically and bind them to another AS2 Class. &
Goals:
- Do not modify the MovieClip Class.
- Create a MovieClip and bind it to an AS2 Class
- Add InitObj support when attaching empty MovieClips
- Support Error handling via try/catch when MovieClip fails to attach
Usage:
MCE.attachEmpty ( scope, name, depth [,initObj] [,class] [,classArguments])
MCE.attachMovie ( scope, linkage, name, depth [,initObj] [,class] [,classArguments])
Sample:
http://www.powersdk.com/sample/MCE.zip
Thoughts and comments always welcome.
Enjoy,
Ted ;)
DIGG IT! 
0 Responses to “ Class MCE - MovieClip Extended ”
Post a Comment