A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Programatically switching to the over state

  1. #1
    Multitouch Aficionado
    Join Date
    Mar 2006
    Posts
    275

    Programatically switching to the over state

    Hey all,

    I'm designing a marking menu. I'd like to use an over state, so the user knows which item will be executed.

    I'm extending SimpleButton, to get access to the button states in Flash. Is there a straight-forward way to use ActionScript to tell a button to switch to its over state even if the mouse isn't on the button?

    Thanks!

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    Simplebuttons don't have the movieclip methods. I recommend you to convert your button to movieclip and use gotoAndStop
    - The right of the People to create Flash movies shall not be infringed. -

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center