Problems with preloader

i’m going through the preloader tutorials on this site and they’re working fine -n- such.

But when i try to put a preloader on an animation of mine… i can’t seem to get it to work.

Anyone else ever experiences
d this problem?? If so, how’d you fix it??

a few people have had the same problem:

search in MX forum for preloader

Rev

Kirupa is going to add my new preloader tutorial soon :beam:

hrmm… nm peeps. Just reading some of those threads on preloaders is makin my head hurt ;p. AS is so confusing to me right now… i’ve only been at this for a couple of weeks so some of this stuff looks like ancient hyroglyphics to me.

I think i’ll wait a little while and establish a firmer base before i start venturing out too far =D

thx anyways tho :slight_smile:

well your not the only who hasnt gotten this script workin ive had problems with it myself, Flash Mx has a few changes from Flash 5 the way you make preloaders have changed if you use to make a preloader via normal scripting, well anyways this is my method of making a preloader

if (_framesloaded<_totalframes){
gotoAndPlay(“scene or frame label”, frame number goes here);}

ok ill explain a little, what your doing here is checking wheter the frames are less than the total number of frames in the whole movie if its less than the total frames it goes back and plays the frame number you specify thats all theres to it

this is the way the fellows here accomplish it but i cannot get it to work maybe its becasue im doing it in normal mode and maybe their using expert mode so i really cant say but this is the method some guys use

if (_framesloaded >= _totalframes) {
gotoAndPlay(“scene1”, 11);}

This method i havent gotten t to work but the only diffrence its doing from the one above is that its checkin if the frames are greater than or equal to the total frames of the movie itll go to the next scene or frame label that you have specified again let me remind you that i have not gotten this method to work so i cant say for sure

Grim

Actually MX preloaders use the getBytesTotal and the getBytesLoaded commands instead of the _framesloaded command stuff.