Sam,
[quoted text, click to view] > Do all the objects in a flash library influence the final
> size of the flash file, or is it only the objects being used
> that influence it?
In general, you can fill up your Library as much as you like, because
(generally speaking), objects only add to the weight of the published SWF
when they appear on a timeline (main timeline or otherwise), on the Stage or
even just in the pasteboard area. Even better, included objects are only
added to the final file size once. If you have a graphic symbol of a tree,
you can make a whole forest on the Stage, adjusting brightness and
dimensions for each individual tree, and the final SWF will only weigh as
much as the original Library copy of that tree.
Exceptions are assets that have been exported for ActionScript.
Right-click / Command click on any asset and choose Linkage or Properties to
see what I mean. Sometimes, you'll want to pull assets from the Library at
runtime using ActionScript. Because those objects haven't already been
dragged to the Stage, they wouldn't be available to the movie -- unless
they're purposefully exported for ActionScript. Components (see the
Components panel) are automatically exported for ActionScript.
[quoted text, click to view] > Is there a way to load particular parts of a sites at different
> times (say there is a subcategory, gallery, that is a large part
> of site. could u load it seperately only when a visitor click
> the button to refer to that part of the site?)
Yes. Create separate SWFs for each section and use
MovieClip.loadMovie(), or better, the MovieClipLoader class, to summon those
SWFs as desired.
http://www.quip.net/blog/2006/flash/how-to-tell-when-external-swf-loaded/ [quoted text, click to view] > Finally, what would you say the average size of a flash
> website is (500k, 2 mb, 5 mb?).
That's a bit like asking what the average size of a tree is. What sort
of tree? Bonzai, California Redwood? Does your site feature audio clips
and/or movie clips? Is it heavy on raster images, or is the artwork all
vector? Have you embedded font outlines of complex, ornate fonts?
David Stiller
Co-author, Foundation Flash CS3 for Designers
http://tinyurl.com/2k29mj "Luck is the residue of good design."