all groups > flash actionscript > june 2005 >
You're in the

flash actionscript

group:

Changing a Movie clips frame on button Rollover


Changing a Movie clips frame on button Rollover LeifKolt
6/28/2005 7:14:44 PM
flash actionscript:
:|
So i've done this before but can't remember the script for it.
Have some buttons and when you roll over each one it will change a movie clip on the same page to a different frame.

Re: Changing a Movie clips frame on button Rollover Chip W.
6/28/2005 7:37:46 PM
Hey L,

Very simple, targeting another movie clip. Name the movie clip's instance name
of which frame you want to change through the Properties>Instance Name

"yourMovieClipInstanceName" could be any name you want


on (rollOver) {
_root.yourMovieClipInstanceName.nextFrame();
}

or for movie clips embedded in movie clips:

on (rollOver) {
_root.yourMovieClipInstanceName.embeddedMovieClip.nextFrame();
}


That'll get ya started,
~Chipley

AddThis Social Bookmark Button