Skip navigation
mpsanders
Currently Being Moderated

Problem with Button Effect in Flash

Jun 2, 2012 7:58 PM

Tags: #effects #animation #actionscript_2.0

I've been following a tutorial found at this link: http://www.extremestudio.ro/blog/?p=910. Even with the stop code, the fade effect kind of flashes when I roll over it. I duplicated the symbols, but now when I roll over them, the text changes even though I want four different buttons: Home, About, Menu, Contact.

 

Can anyone help me out? I can also send my Flash file. It wouldn't let me attach it to the comment. I'm very frustrated because I know it should be simple.

 
Replies
  • Currently Being Moderated
    Jun 4, 2012 6:38 AM   in reply to mpsanders

    Did you download the files from the tutorial? If you look at those, you'll see that each button is a unique element in the Library for the movie. Each button is a separate button object. Each button is made up from the movieClip's that are also in the Library.

     

    Look at each button, you should be able to sort out the parts that you need for each of your buttons.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 5, 2012 4:42 AM   in reply to mpsanders

    If you want to jump to a new location on the timeline, one that is marked with a frame label, then you can use gotoAndStop("label name"); or gotoAndPlay("label name"); from the function that is defined when added the event listener.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 5, 2012 8:10 AM   in reply to mpsanders

    You probably need to add:

     

    import flash.events.MouseEvent;

     

    at the top of the Actionscript window where you have that other code.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points