A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: britain's got talent buzzer

  1. #1
    Junior Member
    Join Date
    Sep 2009
    Posts
    1

    britain's got talent buzzer

    i asked this in another subforum but it was the wrong one, so i'll ask it here.

    how can i make a buzzer like on britain's got talent, with the red x's and everything?

  2. #2
    Senior Member
    Join Date
    Aug 2009
    Location
    Scotland & England
    Posts
    117
    Draw your buzzer not yet pressed X on the screen, highlight it and press F8.
    Choose Movie Clip and give it a name like mcBuzzerX.
    Inside your new Movie Clip make a second frame, a Keyframe, and on this frame draw your X as if the buzzer was pressed.
    On frame 1 of the Movie clip in the actions on the timeline put stop()

    Go back to your main timeline and draw your buzzer button.
    Highlight it and press F8.
    Select Button from the popup and give it a name like btBuzzerButton.
    Inside your new button place in Keyframes for the unique button instances and draw your button accordingly.

    Go back to the main timeline and click your buzzer X movieclip once to highlight it.
    Give it the instance name "buzzer1".
    Click your button once to highlight it.
    Right Click it and go to Actions.
    Place the following actions in:
    on(release){
    buzzer1.gotoAndStop(2)
    }

    ...

    if you want to have 3 buzzer copy and paste the X and button 3 times and give each X the correct instance name e.g. "button1", "button2", "button3".

    and change the actions on each button buzzer2.gotoAndStop buzzer3.gotoAndStop etc.


    Tried to make this as basic as possible, but let me know if you get stuck.

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