Archive for the 'ActionScript' Category


Loading an external .jpg, .png, or .gif bitmap image file in ActionScript 3.0

In AS3, loading external images dynamically is done slightly differently than in ActionScript 2. Whereas in AS2, we could just use the loadMovie() method of the MovieClip class, this is no longer the case.
(Download the files for this tutorial.
You will also need: Flash CS3. Download Trial or Buy Now.)

Instead we have to use […]

Book Review: Essential ActionScript 3.0 by Colin Moock

The world of interactive development has grown immensely in the past few years, due to the increases in processing power, the emergence of social networking, the proliferation of web video, and the very real demands of web users for more, well, interactive experiences – whether they be on a desktop or mobile device, online or […]

Recommended ActionScript 3.0 Books

I have been asked to recommend some ActionScript 3 books by students in the past. Below is a list of what I consider to be the best resources available right now. Enjoy!
Learning ActionScript 3.0 in particular is an excellent tool for novice scripters who are starting with AS3 as their first language. […]

Using ActionScript 3.0 with PHP Part 1: Loading External Variables

Creating dynamic websites which combine the power of Flash or Flex with PHP is easier than ever with ActionScript 3.0.. Utilizing the networking power of the Flash player we can create next-generation user interfaces which go well beyond static web pages or simple animations and instead act as the front-end for powerful applications. […]

Introduction to the Document Class in ActionScript 3.0 - Tutorial

ActionScript programmers who are used to working in Flash have always been encouraged to keep code out of individual frames and movie clips as much as possible. In ActionScript 2.0, this usually meant either keeping function libraries in external files (and bringing them in using #include), or creating AS2 class files. Some […]

Working with Movie Clips in ActionScript 3.0

For most Flash designers, the Movie Clip has been an important and rather indispensable building-block for creating dynamic Flash web sites and applications. Movie Clip symbols are very intuitive and easy to relate to, mainly because of the metaphors of ‘timelines’, ‘frames’, ‘keyframes’, ‘layers’, and ‘clips within clips’, as well as the ease […]

ActionScript State Abbreviations Combo Box (U.S. 50 states)

Tutorial: Create a “state” drop-down (combo box) which displays all 50 states in ActionScript 3.0. The states are given in the example.
I recently worked on a project where I had to come up with a combo box component which contained state abbreviations (United States that is). It would be great to have this […]

Loading external .swf files in ActionScript 3.0

I have been working with AS3 for the past few weeks now, and I have to say that it is by far, so much more flexible than AS2. Display Object Programming is definitely more logical and practical then working with Movie Clips as the main containers of content. In my latest project […]