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|
Rating: 5.91 Votes: 56
|The author is a basic scientist working in cancer research.|
|Download the files used in this tutorial.|
|Download (25 kb)|
|More help? Search our boards for quick answers!|