You're pretty much there in your answer... you need to move both your
linkage items and Class imports to later frames. Here's how I set
up mine:
- Frame One: Just the pre loading screen (no code yet)
- Frame Two: Import Classes and start preloader
- Frame Three: All Linked Objects
To do this you'll need to:
- Open your publish prefs, and beside ActionScript 2 box find the
"Settings..." button. In there you can set your Class publish frame
to 2.
- Switch off all "Export before frame one" in the linkage settings.
Failing to do this with Movieclip's associated with Classes (such as
components) will break these MCs.
- Drag all Linkage items on screen for one frame. This loads them
into memory ready for use later.
Hope this helps,
Dan
On 8 Aug 2007, at 15:58, Omar Fouad wrote:
Is there a way to let flash load the movieClips with linkage name
on the
library, in any other frame except the first one? or to let the
Preloader
Class instance run first?
Note that the Preloader class is attaching a movieClip from the
Library on
the stage that shows the preload status.
Dan Efergan
dan [at] subsubskills.co.uk
_______________________________________________
[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