Hi,
unless you load your preloader in externally as well you have a problem.

In order to make a preloader usefull you have to turn export in first frame
of for all objects and export them on say frame 2 or 3 (by putting them in a
clip). However if you have a lot of as2 classes, you'll need to export your
classes to another frame as well.

But if you export your classes to say frame 2, you cannot show a preloader
based on as2 code in frame 1.

greetz
JC


On 8/8/07, Omar Fouad <[EMAIL PROTECTED]> wrote:
>
> Folks,
> Um working on a project where the stage is empty and i am attaching
> movieClips from the library on runtime.
> I wrote a universal preloader in AS2 and I use it in the first (and only)
> frame of my fla. There is nothing written in this frame except the lines
> required to run and import the class.
>
> When testing preloading i can see in the bandwidth profiler that the first
> frame is too large in size. The preloader works but it shows almost after
> the whole swf has loaded. It seems that the class executes after flash
> loads
> the library first.
>
> 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.
>
> Cheers and thanks.
>
> --
> 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

Reply via email to