Archive | Flash Development RSS feed for this section

O’Reilly Code Search

10 Sep

O’Reilly’s has recently launched a search engine that will scour through nearly 700 of their books, including over 123,000 individual examples, composed of 2.6 million lines of code. I think O’Reilly has published around 21 ActionScript related books at this time. http://labs.oreilly.com/code/

Building a Basic Menu in ActionScript 3.0 Tutorial – Part 1 – Array

7 Sep

Today I have decided to build a simple ActionScript 3.0 horizontal menu based on an array. This is a fairly common practice in Flash development as we are often using data provided from a XML file to dynamically update content within our movies. To simplify this tutorial I am going to use an array that [...]

SimpleButton and Events in ActionScript 3.0 Tutorial

2 Aug

In AS3, one of the most significant changes was to make the EventDispatch class the standard tool for calling events. This is a huge step in ActionScript as code written by different developers will become a lot more similar. In the following example I will demonstrate how to use addEventListener to add a click event [...]

Drawing Shapes in ActionScript 3.0 Tutorial

28 Jul

ActionScript 3.0 has some great new functions to simplify drawing shapes. Previously in ActionScript 2.0 you had to specify each point in a shape and draw lines between them. Now, you can use drawCircle, drawEllipse, drawRect & drawRoundRect to speed up the process. Lets take a look at how it [...]

ActionScript 3.0 Document Class Tutorial

28 Jul

Well, it appears that in my previous posts about ActionScript 3.0, I am a bit old school. I have been instantiating my code from the first frame of the timeline using the import statement. After opening up a few of the as3_labs_samples_062706 and realizing that there is no code on the timeline, just a disclaimer, [...]