Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Rollover in Flash 8

Guest
Nov 22, 2008 Nov 22, 2008
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.
TOPICS
ActionScript
412
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 22, 2008 Nov 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";
}
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 22, 2008 Nov 22, 2008
LATEST
Works like a charm, thanks
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines