OR, You can uncheck the export in first frame checkbox on the items in the library with linkage. When you do this you can place those items on the stage, like frame 2, and run your preload code on frame 1.
Alain's way is simpler, but knowing the export in first frame trick comes in handy sometimes. On 5/12/07, Alain Rousseau <[EMAIL PROTECTED]> wrote:
Or even Simpler, Add a scene to your FLA before the main scene and put the preload script there ... no need for loadmovie :) Ian Thomas wrote: > A simple fix - create a wrapper Flash movie, and load the bulky movie > in as a child. As long as it doesn't use _root all the time, it should > work fine. (And even if it does, you could use _lockroot to fix that). > > Ian > > On 5/11/07, Hairy Dog Digital <[EMAIL PROTECTED]> wrote: >> Hi all, >> >> Wasn't sure whether to post there here or Flash-Newbie, so I'm starting >> here. >> >> I've inherited a project where all Flash assets (MCs, buttons, >> components) >> are included in an FLA and setup on frameone. All code is in external >> class >> definition files, and it isn't pretty. With classes linked to symbol >> instances in the FLA's library. >> >> Client now wants an animated preloader, because the app takes too >> long to >> load before running. You see where this is going... everything is on >> frame 1 >> and all actionscript classes and used library symbols are flagged to >> export >> on frame 1. Ugh! >> >> This has probably been covered ad naseum, but cannot give me some quick >> pointers on fixing this? >> >> (If I was doing this from scratch, I'd simply have the preloader and >> related >> elements export on frame 1, with symbols and actionscript on frame >> 2-5, to >> get the preloader loaded and running while everything else loads. Is >> really >> as simple as wedging some frames in the start and changing the >> export/load >> frame?) >> >> ...Rob >> >> _______________________________________________ >> 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 > > > _______________________________________________ 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