Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Site Design / May 2007



Tip: Looking for answers? Try searching our database.

Simple & Fast Preloaders

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Phattystylez - 24 May 2007 17:38 GMT
Hi there.
I am using Flash MX 2004 and would like to find a resource that will help me
create a fast preloader.

Some of the ones I am seeing are asking me to create 40 frames worth of
preloaders,
and some other preloaders are not working in MX 2k4.

Thanks in advance for your help. (Please provide links)
Rock2007_laptop - 25 May 2007 04:52 GMT
> Hi there.
> I am using Flash MX 2004 and would like to find a resource that will help
[quoted text clipped - 6 lines]
>
> Thanks in advance for your help. (Please provide links)

simple, fast one frame preloader:

1. place actionscript on first frame.

   stop();
   this.onEnterFrame = function() {
     percent = "Loading: "+int(getBytesLoaded()/getBytesTotal()*100)+"%";
     if (getBytesLoaded() == getBytesTotal()) {
       delete this.onEnterFrame;
       nextFrame();
     }
   }

2. place start of your movie (or a large pic to test) on second frame

3. Run using bandwidth settings to test

rgds

ptrok
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.