-
How to loop my actions?
I looped my frames using the following code, lets say there is 6 frames.
First frame code:
var i = 0;
Last frame code:
f(i==0){
gotoAndPlay(1);
}
Anything wrong? It loops perfectly. inbetween these two frames i have a shape tween. It loops the frames and the tween but it does not loop my other actions in between these frames? I have other actions in between the two frames for the buttons. During the first loop, all works perfectly but from second loop onwards, it just carried the actions from frame 5 forward and all frames have the same action for frame 5, why does it happen?
-
.
Hi,
Have you tried reseting all other vars within the loop finish function, if there are any that is.
It's hard to say without seeing any other code or a file.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|