Can anyone tell me what do i do or what actionscript do i use when lets say the word "loading"in the preload animation becomes “loaded” when the animation to be played is loaded.
will the if else actionscript work?
Can anyone tell me what do i do or what actionscript do i use when lets say the word "loading"in the preload animation becomes “loaded” when the animation to be played is loaded.
will the if else actionscript work?
na man just make on 1 frame the work loading, and in yur preloader script, when it’s done preloading make it go to frame 5 which says “loaded”.
i mean you could do it like you say, but ths is much easier and you can make a tween with the 2. for example have loading fade out and loaded fade in when called.
if (bytes_loaded == bytes_total){
_root.textbox = “Loaded.”;
} else {
_root.textbox = "Loading … ";
}
Should do it if you used the kirupa.com tutorial and if this is on the first frame.
:: Copyright KIRUPA 2024 //--