lightmar
August 4th, 2009, 05:58 AM
Hello,
I have created a preloader that loads my application (SWF).
The problem is that I have a class, with an instance on the stage, but this class is not initiating on runtime and returns null. It happens only with this class and only when the SWF is loaded into another SWF.
I have tried to create a timer, and the timer initiates the application just after 1 second. But this doesn't help. Still the class doesn't initiate and the movieClip returns null.
It is driving me crazy, I have searched everywhere and no answer. How can I fix it? Or do you an idea for other way to create a preloader?
Thanks.
Or.
I have created a preloader that loads my application (SWF).
The problem is that I have a class, with an instance on the stage, but this class is not initiating on runtime and returns null. It happens only with this class and only when the SWF is loaded into another SWF.
I have tried to create a timer, and the timer initiates the application just after 1 second. But this doesn't help. Still the class doesn't initiate and the movieClip returns null.
It is driving me crazy, I have searched everywhere and no answer. How can I fix it? Or do you an idea for other way to create a preloader?
Thanks.
Or.