Preloader Question

Your play() action is in the preloader’s code, so you are not going to need another one. ie


if (getBytesLoaded == getBytesTotal){
gotoAndPlay(3);
//there it is!
}

That should be on the code of your first frame, the second frame should just say gotoAndPlay(1); so that it goes in a loop and asks if the preloader code is done yet, or not.

Other than that. Check if your external movies preloader codes have _root on them. If so, _root means the main timeline so when it checks to see if the MAIN movie is loaded, of course it will be - then it will ignore your preloader altogether.

Check that stuff out then get back to us!! Good luck!!

Your right i do have _root in the other movies
What do i replace _root with so that it doesnt check the main time line??

just take them all out. That way Flash will go to the timeline that has the code - no where else. Just make sure you get rid of them all.

Oh you have scenes ! OMG I totally missed that ! Sorry :blush:

I understand what your saying Freddy but i need a preloader to start all of the files!! Not only the first one.

So can i still just take the _root out and xpect it to work where ever its placed??

I haven’t looked at your fla, so I don’t know what Voetsjoeba is talking about, but I did look at the link to the site. Yes, if you are loading in seperate movies, you don’t have to replace _root. with anything. This is how I do it and it always works.

Speaking of Voetsjoeba - what’s that picture of on your footer, I can’t figure it out…

Ok, i’ll give that a try and see what happens.

I think his footer has something to do with ICE??

Lol, they’re bells of air under water =)

OK guys,

Its still not working. I tried removing the _root from files and it didnt do a thing.

Could it be cause im using scenes?

Oh boy this is starting to get frustrating

On your externals, on 1st frame instead of:[AS]if (this.getBytesLoaded()>= this.getBytesTotal()) {
_root.gotoAndPlay(“loaded”);
}[/AS]
You should use:[AS]if (this.getBytesLoaded()>= this.getBytesTotal()) {
this.gotoAndPlay(“loaded”);
}[/AS]And on frame 2 use:[AS]this.gotoAndPlay(“check”);[/AS]

Ok guys, i tried claudio suggestion but that didnt work either!!

Could it be the scenes?
Is there any other way i can try this???

Has everyone run out of ideas???