Thanks, its awesome. My problem was that i was running code right in the
parent class constructor. Now I've just put all that code into onLoad and it
works perfectly.
My life will now be better.
----- Original Message -----
From: "Aaron Smith" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <[email protected]>
Sent: Thursday, February 23, 2006 5:46 PM
Subject: Re: [Flashcoders] Building my application
clip.onLoad();
usually works fine for me. Unless your attaching a substantial amount
of clips at run time. Then what you need to do is attach one. wait
for a load event to be fired. then load the next clip. loading a
substantial amount of clips at one time will get varied results when
it comes to calling methods on them. Then once all of them have been
loaded call like a finalInit method or something to set up the rest
of the app.
SMITH
On Feb 23, 2006, at 1:44 PM, Patrick Matte wrote:
I usually put all my movieclips on stage with a linkage to an as2 class
extending MovieClip. The problem I have with this technique is that
sometimes, nested movieclips are not loaded when I try to call a function
from their parent.
Does anyone have an idea for a workaround this?
I know that if I use attachMovie everytimes, I won’t get this problem
because the attached movie’s constructor is instantly initiated. But I
really like to put all my movieclips on stage already at the right place
and
then display them in any order I like.
How can I be sure that everything on stage is loaded and initiated?
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com