Skip navigation
Home/Support/

Forums

10 Views 2 Replies Latest reply: Sep 10, 2007 2:19 AM by michaeltowse RSS
jps2008 User 3 posts since
Sep 9, 2007
Currently Being Moderated

Sep 9, 2007 7:59 PM

I need button help...

I'm trying to set up something with multiple buttons on it. When these buttons are clicked lines will appear on the screen. I went through the process of making the buttons and I drew the lines in the hit frame of the button, but when I test it nothing happens when I click it.
  • michaeltowse User 170 posts since
    Feb 14, 2006
    Currently Being Moderated
    2. Sep 10, 2007 2:19 AM (in response to jps2008)
    Re: I need button help...
    The hit state within the button's is only the 'live' clickable area and is not actually shown on the stage. You need to trigger a movieclip to run using an onRelease event handler for the buttons. Something like (in AS2.0):

    linesMovieclip._visible = false;
    mybutton.onRelease = function(){
    linesMovieclip._visible = true;
    }

    Then have your lines within the linesMovieclip element.

    Hope this helps.

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points