First time here? First time here? Newsletter Signup Newsletter
Search tutorials
Author: Joachim Schnier | Website: http://can_info_guide.tripod.com/

Actionscript 2 example: creating buttons

Introduction about this tutorial

FlashMX 2004 is out and gives us new challenges. Who said MX (the old MX) will be the last challenge? Anyway making a long story short, it is time to learn Actionscript 2. So this tutorial is from a beginner (myself) to beginners. However, I am very familiar with AS1 and that probably makes it much easier to learn AS2. In order to understand this tutorial you should

  • have FlashMX 2004 installed on your computer,
  • be kind of familiar with actionscript 1,
  • read the ´HELP´ files about AS2 in the Flash Help menu and do the exercises,
  • read other introductary tutorials.

What specifically will you learn in this tutorial? You will get an introduction to AS2 by first looking at an AS1 script, which functionally does what we want and then learn how to create a similar script but using AS2. This will show you to some extent some of the differences between AS1 and AS2 but also the power of this new language. Once you start learning AS2 as I do currently (I am also a beginner in AS2) you will have a lot of fun and create libraries of .as files (you should know by now what that is), which you can always reuse when you create movies. The example I present here is a real world example, which sometimes I am missing when I read other tutorials, where the final result is only a trace-action. Anyway let´s get started now.

» Level Intermediate

Added: 2003-10-30
Rating: 4.8 Votes: 74
(10 being the highest)
» Author
The author is a basic scientist working in cancer research.
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!


  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: Inocreato
» Title: RaiseTheBlocks
» Description: Raise all the blocks to win the game
Featured Sound Loops
Image for equalize

Audio Player

» Author: TomCat Carty
» Title: The Wood
» Description: Just a little game ending or it can maybe be looped. Recorders with music box and percussion to give the feel of well, I don't know, the woods? Free to use, just credit me. thank you
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: Davisigner
» Description: Hmm... what to say about this one? It's reminiscent of the closing notes of the opening music from the Three Stooges done in a church organ style with a closing cymbal crash. I'll give this one away gratis, but feel free to check out my free loops and potential upcoming license-mandated ones over in the respective part of Flashkit.