Flash Advisor logo
:: Desktop Shortcut
:: Flash Help
Advice from Experts

Closed Thread
Results 1 to 2 of 2

Thread: Keeping Button in Down State While In Use

  1. #1

    Default Keeping Button in Down State While In Use

    Hello All,

    I've been trying to create buttons which hold their "clicked" state until another button is clicked. The buttons are created with movies with three states and the script I'm using so far is

    on (rollOver) {
    gotoAndStop(2);
    }
    on (rollOut) {
    gotoAndStop(1);
    }
    on (release) {
    gotoAndStop(3);
    }

    on the level just above the Movie, that is, on the main Timeline.

    What I can't seem to figure out is how to keep the "release" state until another button is clicked. Is there a way to "turn off" the rollOut state after the release state is activated? I've tried using break; but it doesn't do anything.

    Also, the buttons move around the stage periodically and are each unique.

    Thankyou!

  2. #2
    Join Date
    Nov 2003
    Location
    Adelaide, Australia
    Posts
    86

    Default button not the timeline

    Hey, the script you posted is for buttons only (not timelines). Try putting the code on the buttons ie. the first lot of code would be on frame 1/button and the second lot would be on frame 2 /button and so on to third.

    cheers, bliaker

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Button hit state problem
    By scrotaur in forum Newbies
    Replies: 3
    Last Post: 04-02-2006, 05:12 AM
  2. loading video and keeping the audio.
    By sumire in forum General Flash
    Replies: 1
    Last Post: 12-21-2005, 01:38 AM
  3. MC in button over state
    By mrfranchot in forum Design and Animation
    Replies: 9
    Last Post: 01-11-2005, 05:04 PM
  4. Invisible Hit State/Hit Area in Flash Button Movie?
    By burroughs23 in forum General Flash
    Replies: 6
    Last Post: 03-21-2004, 05:34 PM
  5. Controlling Button State
    By nusharp in forum Newbies
    Replies: 3
    Last Post: 01-07-2004, 08:39 AM

Bookmarks

Posting Permissions

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