Groups | Blog | Home
all groups > flash (macromedia) > september 2003 >

flash (macromedia) : how do I reset a counter in flash 5


vernal
9/13/2003 11:45:02 PM
I have created a counter in flash 5 that states that if the document has looped x number of times then it should jump to the next frame. It is succesful, but when the entire document loops the counter does not reset, so the next time it plays the loop does not occur within the document. What is the code for setting the counter to zero or resetting the counter

One Louder
9/14/2003 1:13:55 AM
On the "next frame" that it jumps to when it's done looping, why not put:

myCounter = 0; // or whatever the name of your counter is.


AddThis Social Bookmark Button