Hi,
I have my application swf with its document class Application. I made a wrapper swf in order to preload the application, so the entire project has the following structure:
wrapper.swf -> Document class: TopLevel.as
main.swf -> Document class: Application.as
The problem is that I cannot access the stage when I publish the main.swf file, so it gives compiling errors.
Note: Application and other classes used in the project try to access the stage through static methods (i.e. Application.showPreload() ).
What am I doing wrong?