all groups > flash actionscript > november 2004 >
You're in the

flash actionscript

group:

Preloader Problem


Preloader Problem JohnSmith
11/16/2004 8:04:31 PM
flash actionscript: Hi,
I had a basic Flash file which when it got to the last frame it simply held
it on display. I added a basic action script to introduce a simple %
pre-loader and now when it reaches the last frame it goes to a black screen.
Do I need to add something to the action script to tell it to hold the last
frame on screen and not disappear?

Frame1 has;
LOADED = Math.round(getBytesLoaded());
TOTAL = Math.round(getBytesTotal());
PERCENT = LOADED/TOTAL;
BAR._width = PERCENT*150;
TEXT = Math.round(PERCENT*100)+"%";
if (LOADED == TOTAL) {
gotoAndPlay(3);
}

Frame2 has;
gotoAndPlay(1);


Thanks

Re: Preloader Problem VisionaryStudios
11/16/2004 9:53:52 PM
Well first off, what is on and after Frame 3?

AddThis Social Bookmark Button