[Flashcoders] Timeline instance problem

2007-08-06 Thread Johan Nyberg
I have somewhat of a headache when it comes to instances of MovieClips that haven't appeared on the timeline, and hence have not been instanciated yet... I try to keep as much code as possible on one frame on the _root timeline, or preferably, in an external class file for a movie clip that

Re: [Flashcoders] Timeline instance problem

2007-08-06 Thread Hans Wichman
Hi, are you using as 1 or as 2? greetz JC On 8/6/07, Johan Nyberg [EMAIL PROTECTED] wrote: I have somewhat of a headache when it comes to instances of MovieClips that haven't appeared on the timeline, and hence have not been instanciated yet... I try to keep as much code as possible on

Re: [Flashcoders] Timeline instance problem

2007-08-06 Thread Muzak
My problem comes down to that much of the code is dealing with defining code for different events for movie clips in my movie. But a lot of these movie clips have not yet appeared on the timeline when the movie start, and when the constructor for main_mc is run. Don't use the

Re: [Flashcoders] Timeline instance problem

2007-08-06 Thread robert
On Aug 6, 2007, at 2:22 AM, Muzak wrote: My problem comes down to that much of the code is dealing with defining code for different events for movie clips in my movie. But a lot of these movie clips have not yet appeared on the timeline when the movie start, and when the constructor for