Hello all,

I have a project where I'd like to use MovieClipLoader to load an external
SWF, so that I can be notified when the load is complete.  However, it
appears that MovieClipLoader.loadClip() does not allow one to pass
parameters (i.e. flashVars) to the SWF like MovieClip.loadMovie() does.

As an experiment, I tried setting my SWF parameters in response to
onLoadComplete(), and it appears to work - onLoadComplete is called before
the loaded SWF initializes, and the parameters set in onLoadComplete() are
set on the root clip of the loaded SWF.

So my question is, does anyone know if this is guaranteed behavior?  The
Macromedia docs all seem to indicate that onLoadComplete() is completely
useless and one should use onLoadInit() (and yes, I'm still using onLoadInit
for everything other than the SWF parameters).

Thanks!
-John
_______________________________________________
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