Wait while the onLoad event of container_mc fires - it is called when
all child movieclips are initialized.
Attila
pb> Hi there,
pb>
pb> Have found the following problem...
pb>
pb> Say I have an mc with a linkage ID ("container_mc") and it contains an mc
pb> which subclasses MovieClip ("child_mc"). If I attach container_mc to the
pb> stage at runtime and immediately try to call a function in the class
pb> associated with child_mc, I cannot. Child_mc 'exists' in that it traces
pb> correctly, but it seems there is no association between it and its class.
pb>
pb> The only way I've found to get around this is to set a delay of between
pb> 1/100 and 1/10 of a second before calling the function.
pb>
pb> Is there something I'm doing wrong or could do to stop having to do this?
_______________________________________________
[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