Action Script Question

how do you do an action script where you tell a button to play the “movie-clip” when “mouse roll-over”, and to make it where the “movie-clip” doesn’t repeat back to the beginning when it reaches the end of the “movie-clip”

-thanks

Welcome to the forums!

there are a few ways of doing it…here’s one:

On the last frame of your movieclip animation, add this code:


stop();

on the properties inspector of your movieclip, enter this as the instance name: clip1
Put this code on a button

 
on (rollOver) {
	_root.clip1.play();
}

you could add a roll out to stop the animation as well