Skip to main content
November 22, 2008
Question

Rollover in Flash 8

  • November 22, 2008
  • 1 reply
  • 409 views
I am trying to do a simple modification to the Cafe Townsend turorial for the flash menu, exchanging the 4 pictures and the menu descriptions. I would like to replace the button "Click" with the same function initiated instead with a simple rollover, curser rolls over the button and changes the image and description.

I thought this was a simple change from "Click" to "rollOver" or "OnRollOver" but I cannot seem to make it work.
This topic has been closed for replies.

1 reply

Ned Murphy
Legend
November 22, 2008
I'm not familiar with the tutorial you mention, nor with that approach to assigning a listener in AS2, but the following will work.

next_btn.onRollOver = function(){
menu_mc.title_txt.text = "Testing the title";
menu_mc.description_txt.text = "Testing the description";
}
November 22, 2008
Works like a charm, thanks