Loxis
03-01-2009, 09:51 AM
Hello everyone. I'm new to this site and I have a problem:
I tried to make a MC that is a preloader but when it I told it to go to and stop at the next frame and play the animation within the new MC, the previous frame will keep on going.
Here's the Actionscript of the Preloader Object:
--1st Frame--
stop();
_root.stop();
loaderInt = setInterval(Redrings1, 10);
function Redrings1 () {
if(_root.getBytesLoaded() >= _root.getBytesTotal()){
play();
}
}
--33rd Frame--
_root.nextFrame
WHAT HAVE I DONE WRONG!!!
HOW COULD THIS HAPPEN TO ME!
I tried to make a MC that is a preloader but when it I told it to go to and stop at the next frame and play the animation within the new MC, the previous frame will keep on going.
Here's the Actionscript of the Preloader Object:
--1st Frame--
stop();
_root.stop();
loaderInt = setInterval(Redrings1, 10);
function Redrings1 () {
if(_root.getBytesLoaded() >= _root.getBytesTotal()){
play();
}
}
--33rd Frame--
_root.nextFrame
WHAT HAVE I DONE WRONG!!!
HOW COULD THIS HAPPEN TO ME!