Rick,

I use the MovieClipLoader object seeing as I'm anti-component usage, at
least the stock components that come with the Flash IDE. The MovieClipLoader
works well with great event handlers and a simple loadClip() method.

I utilize the onLoadStart, onLoadProgress, onLoadComplete, and onLoadError
events for each clip loaded.

I use this class for every subclip to be loaded except for the parent clip's
pre-loader which is neither a preloader component or an instantiation of the
MovieClipLoader class, but that's a whole different discussion.

The idea is to be concerned with the actual flash bytecode size of the
exported movie in the end. That's essentially why I develop without using
the stock flash IDE components and build all of my own via classes. On that
note, I have not tested the difference in size of the exported movie for the
loading of the preloader component opposed to the moviecliploader class. But
an easy way to see the end result is to use the "Generate size report" in
the publish settings which summarizes the size of your exported movie. Try
with the component, and try with the class.

--
Jim Palmer ! Mammoth Web Operations

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Rick
> Lecoat
> Sent: Friday, June 30, 2006 9:18 AM
> To: FlashCoders list
> Subject: [Flashcoders] MovieClipLoader vs component
> 
> 
> Hi to all on the list from a new sign-up.
> 
> I'm also new to the whole AS thing, so do please bear with me if I ask
> questions that seem obvious or stupid to those with more 
> experience then
> I (which will be all of you).
> 
> The book that I used to teach myself Flash offered two ways 
> of loading a
> SWF inside another movie; one was by using a movieClipLoader, and the
> other was by using a Loader component.
> 
> The first way seems more complicated (needs for AS code), but I'm also
> wondering if it offers more control than the component option.
> 
> What is generally considered to be the better way?  
> Thanks in advance; 
> 
> -- 
> Rick Lecoat
> 
> 
> _______________________________________________
> 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
> 
_______________________________________________
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