WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Site Design > Flash Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Flash Discussion Forum Flash design presents a limitless number of possibilities for your sites and designs. Discuss your Flash ideas, questions and issues here.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-12-2007, 12:29 PM
spenland spenland is offline
WebProWorld Pro
 

Join Date: Jul 2004
Location: Irvine, CA
Posts: 117
spenland RepRank 0
Default Preloader for 7MB flash movie

Hi everyone, I have searched and searched for an answer to this problem, but nothing seems to work.

I purchased a flash template I got from a template website that my client really liked. I've never had a problem with preloaders before, but I believe that because this flash movie is around 7MB that it is creating a real problem. I just see a blank screen for a minute, then the preloader appears at around 90% completion.

I have scoured the web for an answer and have tried everything, here are some things I have tried so that you don't waste your time suggesting them.

- There are no movie clips being exported in the first frame which I've heard can mess up the preloader.

-It will not be possible to place any parts in separate movies, this must be one file.

-I currently have the preloader in a seperate Scene, should I place everything in the same Scene?

Any help is appreciated!

Thanks
Reply With Quote
  #2 (permalink)  
Old 03-12-2007, 06:13 PM
niggles niggles is offline
WebProWorld Member
 

Join Date: Oct 2005
Posts: 29
niggles RepRank 1
Default

Without seeing the code for the preloader, it's hard to know how they're calculating the download.

The most reliable method I've found is like this:

loadedPercentage = Math.ceil(100 * this.getBytesLoaded()/this.getBytesTotal());

Re: scenes - once exported, Flash is just one long scene rather than the separate ones you see when editing (which is why you should make your frame labels unique)

Cheers,
Nigel
__________________
-------------------------------------------------
World Music World - bringing the World's Folk Music Cultures Together
http://www.worldmusicworld.com/
-------------------------------------------------
Reply With Quote
  #3 (permalink)  
Old 03-14-2007, 01:43 AM
spenland spenland is offline
WebProWorld Pro
 

Join Date: Jul 2004
Location: Irvine, CA
Posts: 117
spenland RepRank 0
Default

Sorry I'm using the progress bar component with the following code:

myProgressBarListener = new Object();
myProgressBarListener = function (eventObject) {
myProgressBar._visible = false;
gotoAndPlay("Start", 1);


// Close the above function
};
myProgressBar.addEventListener("complete", myProgressBarListener);
myProgressBar.mode = "polled";
myProgressBar.source = "_root";
myProgressBar.conversion = "1";
myProgressBar.label = "LOADING %3%%";
myProgressBar.direction = "right";
myProgressBar.labelPlacement = "bottom";
stop();

I got the code from this website:

http://www.tutorials-expert.com/tuto...s-Listing.html
Reply With Quote
  #4 (permalink)  
Old 03-15-2007, 02:12 PM
spenland spenland is offline
WebProWorld Pro
 

Join Date: Jul 2004
Location: Irvine, CA
Posts: 117
spenland RepRank 0
Default

Anyone?
Reply With Quote
Reply

  WebProWorld > Site Design > Flash Discussion Forum
Tags: 7mb, flash, movie, preloader



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Search Engine Friendly URLs by vBSEO 3.0.0