devboy
05-10-2007, 11:03 PM
I followed the advice of some post in these forums and I am now launching my AS3 applciation from a flex project so I can so I can use flex in it.
My AS3 code relies on having access to the stage immediately upon start of execution. The way I wired it is that my main class extends Canvas. and the application mxml has this tag:
<local:Main/>
The main starts but it's stage property returns a null. I tried doing it on initializationComplete() but the stage was still not there. Where can I find it in there?
Cheers
My AS3 code relies on having access to the stage immediately upon start of execution. The way I wired it is that my main class extends Canvas. and the application mxml has this tag:
<local:Main/>
The main starts but it's stage property returns a null. I tried doing it on initializationComplete() but the stage was still not there. Where can I find it in there?
Cheers