I have an object that uses a movieclip loader to load a swf into a holder 
movieclip on the stage.  The mcl code in the loading object looks like this:

__mclListener = new Object();
__mcl = new MovieClipLoader();
        
var r = this;
__mclListener.onLoadStart = function(target_mc:MovieClip) {
        target_mc.stop();
        target_mc._alpha = 0;
};

__mclListener.onLoadComplete = function(target_mc:MovieClip) {
        target_mc.stop();
};
__mclListener.onLoadInit = function(target_mc:MovieClip) {
        target_mc.gotoAndStop(1);
        target_mc.init(r);
};


Then in the swf that is loaded I have an init function written on the timeline 
that performs some other functions... The target_mc.init(r) will not run.  It 
says that function is undefined.  Is this a scope issue or something else?

Thanks!
-Dan

This e-mail and its attachments are intended only for the use of the 
addressee(s) and may contain privileged, confidential or proprietary 
information. If you are not the intended recipient, or the employee or agent 
responsible for delivering the message to the intended recipient, you are 
hereby notified that any dissemination, distribution, displaying, copying, or 
use of this information is strictly prohibited. If you have received this 
communication in error, please inform the sender immediately and delete and 
destroy any record of this message. Thank you.
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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

Reply via email to