Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pre loader

Status
Not open for further replies.

Ragol1

Programmer
Oct 25, 2001
315
US
I have just finished a flash site and it has ended up being 1.8 mb

Can someone please help me in creating a pre loader to tell people the site is loading when they go to it.

I have no idea how to do it and Im kinda new to flash.

Thanks

 
Using soundObjects, export on first frame stuff, and/or components in this movie? Regards,

oldman3.gif
 
Thanks but this means nothing to me
Does any one kone of any guides for creating a preloader
 
Thanks but I have run into a problem

I done this preloader but it still doesnt come up.

I export my movie and when people go to my site it should open blahblah.swf which it does but it downloads it first so the preloader doesnt get a chance to run or if it does I dont see it because the movie has already downloaded.

It takes about 40 sec for it to come up and IE says its downloading.

Any help please.

nick
 
That's the reason why I asked if you had any sounds (background music for example), other Export on the first frame stuff, and/or used any of MM's components in your movie. One/all of the above will prevent a preloader from displaying properly, although it could still be working right. Regards,

oldman3.gif
 
is the preloader in frame 1 ?

try putting some trace action in and check the code is running

bytes_loaded = Math.round(_root.getBytesLoaded());
trace(bytes_loaded); // may as well start here
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
_root.loadBar._width = getPercent*100;
_root.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
_root.gotoAndPlay(3);
}

remember trace only works in authoring so its control>test movie and not a web test
 
has it got anything to do with IE playing the swf or maybe IIS setting?
 
sorry I am ..what do you mean a link?

The movie doesnt have any sound or movies in it.

it has 3 frames just like the guide from above then the movies starts.

It will work and load but it has to download it all first.

Thanks
 
if you were trying to get it try again I was uploading to it.
 
Well, I see the preloader, mind you IMHO, it's not displaying properly. Then I see the movie. So what's the problem? Regards,

oldman3.gif
 
you do..... hmm I dont

could it be a setting with me?

Whats wrong with it?


Help help help

Lol

Thanks
 
any ideas?

What is the pre laoder showing?
 
A grey loading bar being filled. It only goes up to 1/3 though, then the movie apppears. Regards,

oldman3.gif
 
so any ideas whay I cannot see that? what OS do you have and are you useing IE?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top