To create a Flash game in AS3.0, I’m interested in not including ANY ActionScript in the actual compiler FLA. All my external .as files are located within the Engine sub-directory from the compiler FLA. All packages are Engine packages.
This is achievable by defining the Document Class to whatever external .as file you’d like to designate as your Manager class (found within Engine.Manager.as), which handles everything.
But I’m having trouble getting any other external class to actually extend Manager. When I compile, Flash’s output panel always tells me I’m getting invalid data.
If I set the other external .as files to extend MovieClip, Manager can successfully call and run their functions, where I have placed trace(""); commands.
When I try to add something to the Draw manager to display movie clips (which are linked to flash.display.MovieClip) from within the compiler FLA library, the addChild(""); works when I place it in the Manager.as class, but not when I place it in any other class, even if the trace(""); commands in those other classes are successfully executing.
I really hope this is possible. Any ideas?