What about calling the setup function on the parent from the onLoad
method on the child. In that way the parent will only execute the setup
when the child has been loaded completely.


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:bounce-fugli-
> [EMAIL PROTECTED] On Behalf Of Chris Velevitch
> Sent: Thursday, 3 March 2005 12:40 PM
> To: Flash Developers List
> Subject: [fugli] Waiting for child symbols to load
> 
> I've created a symbol which contains other symbols. Both the parent
> and child symbols have AS2 classes linked to them.
> 
> In my parents onLoad handler I'm calling methods on the child symbol.
> However, the child symbol isn't loaded yet when the parent symbol's
> onLoad handler is called. In my case, the parent calls a method on the
> child to setup the child. However when the child finally gets loaded
> and it's onLoad handler resets the symbol effectively undoing the
> results of the parents call.
> 
> What do I need to do wait for the child to load before I call it's
methods?
> 
> Is this the best way to do this.
> 
> ---
> You are currently subscribed to fugli as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
[EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/

---
You are currently subscribed to fugli as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to