[A] O
__|__
[B] |
/\
[C] / \
When nothing is pressed, frames 1-8 repeat over and over
when A is pressed, frames 9-18 are played, then returns to playing 1-8
when B is pressed, frames 19-28 are played, then returns to playing 1-8
when C is pressed, frames 29-38 are played, then returns to playing 1-8
How do i do this with action script?
if simpler, how do i do this with actionscript where its blank until a button is pressed, ignore the 1-8 thing.
ive been trying to use
code:
on(release) { this.gotoAndPlay(9); }
but i can't stop it at the end of the sequence,
i cant get it to goto the begining 8 frame
and i cant get it to just repeat the first 8 frames for a bit whilst not playing the others until told to!
any help is appreciated!
thanks!