Hi Omar,
you are right there is no way.
So:
frame 1 - preloader that holds on frame 1 until _framesloaded ==
_framestotal, then JUMP to frame 4
frame 2 - export classes here
frame 3 - dump all library items on this frame
frame 4 - this is where your actual movie/processing begins
In your library turn off export in first frame for all elements, eg by hand
or through jsfl:
//
// DisableExport
//
// Sets the linkage identifiers for all items to false
var items = fl.getDocumentDOM().library.items;
var item;
var j=0;
for (var i=0; i<items.length; i++) {
item = items[i];
item.linkageExportInFirstFrame = false;
}
greetz
JC
On 8/8/07, Omar Fouad <[EMAIL PROTECTED]> wrote:
>
> ok I did this. I unchecked the load on first frame checkbox, and dragged
> all
> the linkage items on the third frame. but Flash is not attaching anyone of
> them unless the playhead reaches the third frame.. No way about attaching
> them in frame 1 or 2.
>
> ????? *frustrated*
>
> On 8/8/07, Dan Efergan <[EMAIL PROTECTED]> wrote:
> >
> > 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
> >
>
>
>
> --
> Omar M. Fouad - Digital Emotions
> http://www.omarfouad.net
>
> This e-mail and any attachment is for authorised use by the intended
> recipient(s) only. It may contain proprietary material, confidential
> information and/or be subject to legal privilege. It should not be copied,
> disclosed to, retained or used by, any other party. If you are not an
> intended recipient then please promptly delete this e-mail and any
> attachment and all copies and inform the sender. Thank you.
> _______________________________________________
> [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
>
_______________________________________________
[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