
A basic introduction to ActionScript 3 for complete beginners. This series will help you script in the timeline of a Flash file to make a point and click adventure game.
Watch the entire playlist here
- The basics
- Object properties
- Functions and Events: Part 1 & Part 2
- Linking and removing event listeners
- If statements and relative settings
- Variables
- Text fields

Monthly tutorials covering a range of topics and skill levels. Every 2nd project will link to a mini competition tied to the tutorial content – show me your class!
Each project is in stages and the source material can be downloaded for the start of each section meaning you can jump right in whenever you please!
- Randomly Generated Hills in ActionScript 3
- Show Your Class – Random Hills
- Drawing, Animating and Scripting an Interactive Character in Flash
- A* Pathfinding in ActionScript 3
- Making a ‘Copter’ style game in Flash

A slightly lengthy (and sometimes messy!) tutorial taking you through the development of an entire Flash game using a combination of keyframe and external coding. You should complete the intro series before progressing to this one. Please note, the main point of these tutorials isn’t to make the depicted game but to be able to apply the skills to any product; maybe you could try to build something totally different as you watch!
Watch the entire playlist here or Play the game!
- Series introduction
- Setting up an ActionScript file
- The document class and instance spawning
- Adding a mouse-controlled turret
- Shooting bullets
- Arrays
- For loops
- Hit tests
- Custom functions
- Packages and static classes
- Content bonus #1
- Font Management and a Menu
- Drawing lines with the graphics object
- Tweens and Explosions
- Code refactoring
- Dying and Scoring
- Dispatching Events and making your own Event types
- Frame labels and Try-Catch statements
- Tweening menu transitions
- Timers and an infinite loop
- Timing without Timers
- Key press events
- Adding power-ups
- Adding health and timer bars
- Switch case statements and key combinations
- Intro to sound
- Garbage collection
- Extending your classes
- Circular collisions
- Content bonus #2
- Adding a loading/downloading display
- Editing the right-click / context menu
- Uploading a game to Kongregate
- Series summary

A series of tutorials made randomly when I had time. There’s no voice over and the difficulty level and content of each differs greatly. Hopefully you’ll find something useful though!

Hello there,
and to start with.. THANK YOU SO MUCH
this is exactly what I need to get started
I just learned how to use basic go to certain frame AS2,
but I aspire to make games ad eventually also get some on Kong
although I’m eventually aiming towards website design in Flash
I have no doubt all this will come in handy
thanks again for putting so much effort in documenting and filming
all the steps, no matter how small.
Maybe I’ll let you know something .. one day, thanking you once more for being the base I started building on. Haha ;D
-Xz
Thanks
Don’t forget to show me your creations
Hi Anthony!
Found your tutorials on youtube, and been watching them learning about AS3.
I had Computer Eng. classes so the code stuff its not strange, and you have a nice way of arranging your code.
I aim to be a game developer, unfortunely the course that you teach doesn’t exist in Portugal, so I guess I’ll stick to you for learning
Continue your great job, and enlight us with your knowledge eh eh eh
Regards
Hugo
Thanks Hugo, I’m glad you find them useful
Hi!
I’ve created a game by the help from your tutorials, and I’m wondering if you know how to make your own highscore table to put up on your own website?
I’ve tried many things, but alot of the tutorials out there are either as2.0 or totally useless…
Your tutorials are easy to understand and you explain what you do very well!
So far I’ve used swf>php>mysql but when I upload the swf to a server it doesn’t put any data into the database.
It does when I test the swf by ctrl + enter…
It’s really getting me frustrated and if you could help me it would be awesome!
-Gustav
You could use mochi media; the score system there lets you have high score tables outside of the swf file. It also does adverts, generates a bit of money and adds some obfuscation to your code to help against code thieves. There’s a post on the site with a mental maths scoreboard to give you an idea of the results. I only have my phone available to me for a couple of days so I can’t help much more right now and it’s a LONG time since I did any php I’m afraid!
Got it working now!
If you want, you can test it at mochimedia or my site!
Thanks for awesome tutorials!
-Gustav
Nice one
I liked the snow/ice flakes. Good luck taking it further and getting some money for your effort!
Hi Ant, just a quick thank you for your brilliant tutorials and calm, thoughtful teaching approach. I’ve learnt a lot and will watch this space with eager anticipation. Thanks again.
Good to hear!
http://www.subtleimaging.com.au/flashsite/Home2.html…. and
thanks to you (” this is just the begining”) thanks mate:) instant hero:)
http://www.subtleimaging.com.au/boloxous/gamefile.html
I own cs3 and have trouble withya gabage collection and circular hit testing???
it just dont work do i need to import some thing??
thanks mate, have a good day.
Hey Daniel,
The circular hit tests should definitely work in CS3, as it’s just a bunch of sums rather than use of any specific library.
Good to see you making something with the tutorials, keep at it!
Ant
Hi Mr. Ant I’m having a problem with my keybaord event because whenever I press letters there is no response/trace on the Output panel. It only works on the numpad and arrow keys and other buttons except on the letters. I don’t know if the problem is in my keyboard and here is the code in my timeline.
stage.addEventListener(KeyboardEvent.KEY_DOWN,KeyIsDown);
function KeyIsDown(e:KeyboardEvent):void{
trace(e.keyCode);
trace(e.charCode);
}
I compiled it and no errors have been returned but still not working. Need some advice. Thanks..
Hmm, that’s an odd one! I put your code into a Flash file and it works perfectly…
First off, just check that you have disabled keyboard shortcuts when you test your SWF (Control -> Disable Keyboard Shortcuts). Other than that, I’m really not sure – it could be a specific keyboard problem I suppose.
I just disabled the keyboard shortcuts and it works perfectly now.
Thank you for the help Mr. Ant.