Hi,
I am currently working on a web site and i cannot run a another tween animaton when i click on another button.
i have a main MC( with 4 buttons on it) on the stage and when i click on a button it animates 2 blocks that have been created at runtime and goes from right to left.
What i want is when i click on another menu button, the boolean changes and i must be able the rewind the animation and do another but it does not work.I must click twice, once it rewind and the 2nd one it shows the animation…
Please help as it is quite urgent.
jerome.chevreau@gmail.com
Please please
Thanks
Hi Jerome
Could you post some code?
I assume when you say tween you mean timeline tween = bad
you need to script it with tween class
in that case you would have a function
animation function(1 or 0){
if (var ==1){
play foreward code
} else{
playbackward code
}
}
you would call it by animation(1 or 0) 
}
yeah frame based animation is usually bad…
I think with fuse you can animate frame based animations. Fuse gives you a new property called “_frame” and it’s possible to tween it using AS. Something like my_mc.tween("_frame",20,2)
Edited:
Well there’s actually a method for doing that my_mc.frameTo(…);
http://www.mosessupposes.com/Fuse/fuse2docs/com/mosesSupposes/fuse/Shortcuts.html