button won't stay down after click

Ask a Question related to Macromedia Flash Sitedesign, Design and Development.

  1. #1

    Default button won't stay down after click

    ok i am making a menu in flash and i have the up over down and hit states and i
    tested it and all the buttons work except for one thing i want after you
    release the button for the down state to stay there and when clicked again it
    goes back to the original state, can someone please tell me how to action scrip
    this or if there is an easier way please tell me.
    Thanks

    joejoe2288 Guest

  2. Similar Questions and Discussions

    1. set button.click from .as file
      Hi All I am wanting to set the click event of a button from an actionscript file. Essentially inside my as file i have a function that is called...
    2. WWW::Mechanize click($button) not finding right button to click
      Based on wise advice from participants of this forum, I rewrote my web automation script using WWW::Mechanize. The script now successfully logs...
    3. Button.Init? how Do I know if click event has been fired? TextBox.TextChanged event before Button.Click in a CompositeCustomControl.
      Hello I have the following situation: (everything is dynamic (controls.add)) 1. Button.Init { WasButtonClickFired = true } 2....
    4. double click button(mc)
      I need a way to double click a movieclip as need to be able to drag & drop it. This is a section of the code i am using outbar1.numero = 1;...
    5. Sound in navigation bar + button stay down
      Hi First, I want to thanks thoses that had help my with the flash's part of the future Weyssor site. I still need some help do. I need to...
  3. #2

    Default Re: button won't stay down after click

    In one of the newer UI components there is a push button that has a toggle
    option. Another way to do what you want is to place your button in a 2 frame
    movie clip with a stop() in the first frame. Make a similar button in frame 2
    but change the color or highlight to make it look like it is down.

    In addition to your AS for the button in frame 1 of the MC put gotoAndStop(2);
    and in addition to your AS for the button in frame 2 put gotoAndStop(1) and you
    have your own toggle switch. This will be a lot smaller than the UI component
    as well if you are concerned about file size.

    rlc5611 Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139