>
> 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 constructor to "get things done". Use the MovieClip.onLoad method.
class Application extends MovieClip {
function Application(){
// don't do anything here
// except for setting certain MovieClip properties, like:
tabEnabled = false;
tabChildren = true;
_focusrect = false;
}
function onLoad():Void {
// child assets on stage will be "ready"
}
}
regards,
Muzak
_______________________________________________
[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