A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Button Don't Work Properly

  1. #1
    Member
    Join Date
    May 2002
    Posts
    88

    Button Don't Work Properly

    I have a button that works fine, except that:

    My button opens a menu with several options, so far so good (actioScriprt for the button tells it to go to a frame label where this menu MC is found - there is a 'stop' action on this frame).

    Problem:

    In the movie, click on the button, the menu opens and stays there waiting for the user to click on another button in the menu - that's great -

    But:

    if you click on the main button again (the one that opened the menu) rather than doing nothing (because the menu is already open) it takes you to another place in the main timeline (in this case the next frame) - how do I stop this happening. I repeat I do have a 'stop' action in the right place?

  2. #2
    Member
    Join Date
    Aug 2000
    Posts
    80
    I have a stop on the first keyframe and the relevant actions on the button. I then put a keyframe in the next frame and remove the actions on the button. This does the trick as it renders the button useless once clicked.

    You seem strangely familiar to me shall we do lunch!

    S

  3. #3
    Member
    Join Date
    May 2002
    Posts
    88
    If you want to buy me lunch you might have to come and get me. By the way, I have very expensive tastes...

  4. #4
    Member
    Join Date
    Aug 2000
    Posts
    80
    It's a good job I'm coming to you for lunch tomorrow then!

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