Using movie clip as button to link to scene

Hello, this is my first post. VERY new to Flash. Trying to make my first website. I’ve had no formal training and am just kind of barrelling through using internet tutorials and Flash reference when I get stuck on something.

Which I am now.

I’m making a web page for my motorcycle collection. There’s a main window for animations (transitions) and information on each bike and to the left are icons for each bike. Maybe this isn’t the best way, but for now I’m doing this by making the page for each bike a seperate scene with an identical frame and identical bike icons on the left. You click the icon for the bike and it goes to the scene with that bike’s information in the main window (with a built-in animated transition between).

Now the problem: I am trying to have the icon buttons on the left be advanced rollover buttons. So each one is a movie clip symbol for which I’ve scripted button attributes. I’ve taken 8 photos from different angles around each bike to make an animation like the bike’s spinning. I put a stop command on the first frame of the mc animation and then on the last frame, I have a gotoAndPlay (2) command. On the rollover state, it goes to frame 2. On rolloff, it goes to frame 1 and stops. This is all working beautifully. However, I want the buttons to link to another scene in the main timeline when you clip on them. So I tried all kinds of different onRelease functions that I found in various forums. None have worked. When I test the file, the rollover states animate fine, but nothing happens when I click the buttons.

I first tried making an actions layer in the edit timeline of the mc itself and putting in this script on frame 1:

 
onRollOver = function() {
gotoAndPlay (2)
}
 
onRollOut = function() {
gotoAndStop (1)
}
 
onRelease = function() {
gotoAndPlay ("Scene 4", 1)

This didn’t work. Then I found out about needing to link it to root to change scenes outside of the mc and on the main animation. So I changed the onRelease code to:

 
onRelease = function() {
_root.gotoAndPlay ("Scene 4", 1)

This didn’t change a thing!

So I removed the onrelease code from the movie clip timeline and went to the main timeline and tried putting it on the actions layer there:

 
600mcbutton.onRelease = function() {
_root.gotoAndPlay ("Scene 4", 1)

The code check came out okay, but it still didn’t do anything when I clicked the button. I tried about a dozen variations of all of these things between the main timeline and the mc timeline and it never acted any differently. The rollover animation always worked, the link to Scene 4 NEVER worked. This one’s got me stumped.

Thanks for reading all the way through this and helping.