Preloader Probs

Can anybody work this out???

http://www.besgrove.net/kra/

The external swf preloader doesn’t seem to work…I’ve used the one from the tute here…

in the first frame is,

bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
_root.loadBar._width = getPercent100;
_root.loadText = Math.round(getPercent
100)+"%";
if (bytes_loaded == bytes_total) {
_root.gotoAndPlay(3);
}

:: i’ve changed the last line from _root.gotoAndStop(3); to Play ::::

:: It doesn’t work even if i change the Play back to a stop ::


in the second frame is ::

gotoAndPlay(1);


and the third ::

play();

The swf i’m loading in works on it’s own ???
see http://www.besgrove.net/kra/swf/main_content.swf

What have i done wrong???

:: Daveman ::

Check the tutorial again. You downloaded the file at the end, when I last updated the tutorial I updated the code in the tutorial, but forget to supply a new .fla for Kirupa to throw up there, so the downloadable file contains the old code, but the tutorial itself contains the new code that should work.

Thanks Lost, you are a true ledgend…

How long is this place been around???

11,350 posts faaaaark…:stuck_out_tongue:

:: Daveman ::

Me? A legend? since when? how? I am confused.

How long has this place been around? I really have no clue, before it was a vBulletin board it used to be hosted on ezboard.com. I wasn’t here then. I signed up July 22, 2002, the day after I started learning AS :slight_smile: Ahhh, those were some good times.

correct me if I’m wrong but I think this community started in the year of 1999. :slight_smile:

Yep, just checked the FAQ section,

The site has been up since 1999. Strangely enough, this site covered a lot of random programs other than Flash when we (Kirupa) started in 1999.