**tl;dr:Using MTASC, How can I take a MovieClip that exists on stage and interface with it through a custom class? **
I’m a UI/UX designer and interface engineer, and I’ve recently been trying to improve my development workflow. I’ve been trying to achieve the following workflow:
[LIST=1]
[]Create the UI in Adobe Illustrator
[]Import the UI into Adobe Flash
[]Set up MovieClips to allow interactivity on the stage
[]Export the finalized design as an .swf
[]Write code to interface with the various parts of the UI
[]Inject the code into the precompiled .swf using MTASC
[/LIST]
I can do all of the above, but I’ve been having problems when it comes to writing the code. I’d like to write object-oriented code as much as possible, but I can’t seem to link my custom classes to anything that starts on the stage. How can I take a MovieClip that exists on stage and interface with it through a custom class using the MTASC?