Just from the top of my head here, so excuse if anything is wrong
but couldn't you put at the end of the preload animation something like stop(); if (getBytesLoaded() == getBytesTotal()){ play(); } else { this.onEnterFrame = function() { if (getBytesLoaded() == getBytesTotal()){ delete this.onEnterFrame play (); } } HTH On 10/5/06, Pete Miller <[EMAIL PROTECTED]> wrote:
A preloader by definition is a short, small movie that loops endlessly until the swf is completely loaded; the load-end stops the movie. You're describing a movie that wants to end when it reaches its last frame. What does it have to do with the load process? You cannot guarantee which will end first, the movie or the load, so you need to know what you want to happen in either case depending on which event happens first. P. >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:flashcoders- >> [EMAIL PROTECTED] On Behalf Of Aaron Roberson >> Sent: Thursday, October 05, 2006 12:40 PM >> To: Flashcoders mailing list >> Subject: Re: [Flashcoders] How to create a preloader that plays in full >> >> Thanks for the sarcasm but I am not just trying to create a simple >> preloader that plays until the movie has loaded. Rather, I want to >> create a preloader that has two functions: 1) to preload the movie (of >> coarse) and 2) to play the entire preloader's timeline even if the >> movie has already been preloaded. It's the second part that I am >> having trouble with. >> >> A traditional preloader plays until the movie has been loaded. >> Instead, I want the preloader to play in entirely even if the movie >> has already been loaded. This way, the preloader is not just a >> progress bar but an element of the movie. >> >> I hope that makes sense. >> >> On 10/5/06, Michael Stuhr <[EMAIL PROTECTED]> wrote: >> > Aaron Roberson schrieb: >> > > I want to create a preloader that plays through even if the rest of >> > > the timeline has been loaded. I saw a tutorial on this some time back >> > > but can't find it now. >> > > >> > > Forgive me if this is a common request or something but I have >> > > searched and searched but can't find it. The problem is probably that >> > > I'm not sure what keywords to use for a good search. >> > > >> > >> > you cannot find *anything* about how a *preloader* is made in flash ? >> > >> > is the list archive down ? >> > is flashkit down ? >> > is google down ? >> > >> > micha >> > _______________________________________________ >> > 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