Groups | Blog | Home
all groups > flash actionscript > august 2005 >

flash actionscript : PreLoader, listbox, slow script msg - Hours lost trying to figure this out



iekman
8/18/2005 7:10:45 PM
Hopefully someone can help. I have lost a lot of time on this problem and can
not solve it.

The Environment
Flash Mx 2004, Flash player 7, IE 6 on PC, IE 5.1 Mac same results

The Code ( I have used alternative methods with similar results)
Scene 1 (loader)
1st frame
if(_root.getBytesLoaded() >= _root.getBytesTotal()) {
_level0.engprompt = "To find a word, click a button.";
gotoAndPlay("StartIt");
}

Last frame
gotoAndPlay("loader",1);

Scene 2 (content)
1st frame labeled ?loader?

The Symptoms
Loader stops and goes to the scene 2 early... before finishing loading
(displays graphics of scene 2 before finishing load). An alert says "A script
in this movie is causing Macromedia Flash Placer 7 to run slowly. If it
continues to run, you computer may become unresponsive. Do you want to abort
the script?" Click no.... the movie finishes loading and everything runs fine.

The Suspect
Macromedia?s new canned component list box. I have some 35 movieclips using
the list box interface. It is perfect for what I want to do.

Summary
The movie works great and with good speed the problem is the bogus display msg
on loading and the preloader jumping before everything is loaded.
HELP................ I know enough to be dangerous am certainly not an expert.
iekman
8/18/2005 7:23:26 PM
Sorry, I made a mistake in my code explanation not the code itself.
AddThis Social Bookmark Button