Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Looping
From: Jason_Schubring
Date: Mon, 8 May 2000 22:46:06 +0100



Russ,

There are probably a ton of ways to do it depending on your situation, but here
is what I would do to make an MC loop 10 times, for example:

Make a movie clip containing your animation with at least 2 frames. In the
first frame, check the value of the variable "/counter." If counter is less
than 10, add one to "counter."

In the next frame, check the value of "/counter." If it is greater than 10,
Tell Target/go to and play whatever you want to play; If it is less than 10, go
to and play frame 1 again.

If you need the actual actionscript, just email me. I only had a minute and
wanted to try to help out.

HTH. Good luck.

J


>>Has anyone done this (and I'm sure you have):

>>Loop an MC (x) amount of times and then play onward?

>>My assumption is using ActionScripting, and I'm a wee bit light in that
>>area.

>>TIA,

>>Russ






flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]