First time here? First time here? Newsletter Signup Newsletter
651326 Members and growing! | Flash Jobs
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: 5.41 Votes: 63
(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!

Comments

  • 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: doc_chin7
» Description:

The flash's horizontal road drive was done in CS4 and was upgraded to CS6. The car responds to right/ left key and flash will auto-generate the movement of roads from left-right or right-left based on random number. Have fun driving in this virtual environment and avoid other cars... :) If you are creative, a road driving game can be created from it.

Featured Sound Loops
Image for equalize

Audio Player

» Author: BoxCat
» Title: CPU Talk
» Description: From the cyberpunk RPG, "Nameless: the Hackers" Completely Free to use! Keywords: edm hip hop rap electronic mysterious mission hacking chase exciting spy ios ambient chilling love happy sad angry suspense
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: nathan
» Description:

A recorded sound of the Dimensional Fork Gate.