Pre Loader troubles. Please help!

I’ve got a three scene movie, with the first scene dedicated to the pre loader and the rest of the scenes are parts one and two of the movie. For the pre loader I have a movie clip of a little character running in place while it says loading below and it’s just two layers, one frame. I want it to play that movie clip until the whole movie (all 3 scenes) are loaded, then I want it to go to the first frame of scene 3. My script looks like this:

if (_framesloaded>=_totalframes) {
gotoAndPlay(“scene 3”, 1);
} else {
stop();
}

I checked for syntax error, but nothing came up. It just skips straight over the preloader and into the unloaded movie. I know Im messing it up. Can someone please help me?! Thank you so much!

do a search theres like 1000+ things on this

okay, so I used the code:
if (_framesloaded>=_totalframes) {
gotoAndPlay (“scene 3”, 1);
} else {
gotoAndPlay (1);
}

but it skips right through and plays the unloaded movie. Is it because the “totalframes” is only for that particular scene? I put the preloader in the first scene, and the rest of the movie in two scenes below it.

Sorry for the trouble, but I need to get this working?