-
oK, I have just a 2-frame movie.. both frames set as buttons. I am trying to get them to switch back and forth on mouseover. I put the action script on #1 that says:
Code:
on (rollOver) {
gotoAndPlay (2);
}
Why doesnt it work when I test it?
-
Well...
first of all you can't create frames as buttons. It sounds like you're confused about the use of frame actions and button actions.
You could accomplish what I think you're looking to do in any number of ways but first I would suggest that you try using frame labels and assiging the actions to go to the labels.
Frame1 - a button action
On(Press, Release, whatever)
Go to and Stop("label2")
End
Frame2 - a button action
On(Press, Release, whatever)
Go to and Stop("label1")
End
If you use Go to and Play on a two frame movie which has no stop actions in the frames then it will just go into a continuous loop and you would have no action.
Maybe that's what you have happening?
Hope this helps.
-
Thanks so much for your help; I understand now what you're saying, but I tried again (now I used the controller). When I did rewind, I rolled my mouse over it, and it changed to scene 2 like I wanted. Then it stopped, and wouldn't go back to scene 1 when I rolled over it.
[Edited by greenbirdz on 12-17-2000 at 11:35 AM]
-
-
I'm not quite sure what you are looking to do then.
Do you want one thing to play on the roll over action and nothing to play on roll out?
-
Don't worry I got it right - I had to turn it into a button. Thanks for your help though
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|