I am trying to create an animated graphic to be used as a button using a movie clip and the .OnRollOver function in action script. I sucessfully created the movie clip with a hit state, stop function, and workinng animation. I then gave the movie clip button an istance name of "pic1_mc". In action script I created this code,"
pic1_mc.onRollOver = function() {
pic1_mc.gotoAndPlay("over");
}
"
"over" is the layer I named that is placed when the movie starts. However, when the movie is tested, my cursor changes so the computer knows there is a button there, but the animation does not play.
I uploaded my Flash 8 file onto rapidshare if it may help.
Thanks for any help.
pic1_mc.onRollOver = function() {
pic1_mc.gotoAndPlay("over");
}
"
"over" is the layer I named that is placed when the movie starts. However, when the movie is tested, my cursor changes so the computer knows there is a button there, but the animation does not play.
I uploaded my Flash 8 file onto rapidshare if it may help.
Thanks for any help.