Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Adobe Flash CS4: Buttons in ActionScript 2.0

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
6,407
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 25, 2009

Take a look at the conventional method of using buttons in actionscript 2.0

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 5 dislikes

Link to this comment:

Share to:

Uploader Comments (it9001)

  • ..so im making a sniper game..and i have my character as a button and i need to "end" the button somehow so i cant keep clicking the character and killing him more than once... i.g i shoot the baddie, baddie plays a death animation and stops(); on last frame... but if i shoot the dead guy it will play the animation again...how do i stop this??

  • @YoshiJumper

    well it seems like that when you are shooting the character, his animation starts playing and your keeping the dead body movieclip on the stage. What I suggest you do is, remove the movieclip and replace that (x,y) location with an image equivalent. For example, the last frame of the movie clip is the dead body. Take that dead body and make it an image. Using some simple/clever action scripting,replace the movie clip with the image. Tell me\ if you need help scripting this...

  • well Fuck you...just because you know every thing doesn't mean you should go so fast .... Biatch

  • it would be helpful if you left details on what you didn't understand. The tutorials are intended for people who have a basic understanding of flash. What action script is, what tools i am using, how to create objects, and that is why i am trying to go fast.... for the future... I will in the future try to go slower with tutorials

see all

All Comments (27)

Sign In or Sign Up now to post a comment!
  • is the scripting shown in this work if you are trying to make a button that would start an animation when the button is clicked?

    also, i was wondering if you would know what:

    a) a movie clip symbol is and

    b) a graphic symbol is ?

    thankyou.

  • thanks!!!!!!!!!!!!!!!

  • @it9001 do you mean like a graphic?? im a noob scripter and ive only made a platform game... what kinda scripting is needed??

  • @Subandiwillsub2u

    on(release) {  gotoAndStop(10);

    }

  • @Subandiwillsub2u The coding is actionscript 2.0

    you need that for the button to do an action.

  • i hope this wasnt suppose to be a tutorial because it sucked!

  • thanks!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more