I have made a couple of images on each frame with a stop command every frame. I ask the flash to go next frame after every 2 secs. So it’ll show image frame by frame every 2 sec with the setInterval command.
In the setInterval, i call a function to clear the interval and goto next frame.
I load this swf in another main swf. but when i unload it by pressing a button,it keep on jump to next frame after certain of time.
Since in the main flash, i have button set to jump to spesific frame by name. it mess up my work!
How to solve this problem by preventing it from looping?
Thanx in advance!!
anyone? please
cant you just clear it in the button?
i tried to put clearInterval exactly like I put in the function(that loaded swf)in the main button. but i cant work. I wonder what went wrong…
the clearInterval only works when i put in the swf alone.
but when i loaded it into other swf, it seem it keep continue looping(jump to next frame coz in the function i ask it to go next frame) after certain times after i unload it.
well, before i unload this file,i put in the clearInterval again( with same Interval ID and so on) once I press the button. but it’s like nothing effect on it.
Help please!
This is my idea of fla.
I don’t wanna run it frame by frame, but by using time.
Thanx again!
frame by frame is time