Examples

Primative Pong Game
Primative Black Jack Game
Basic OO Black Jack Game
Basic Form
Complex Form
JavaScript from ActionScript
Basic Image Animation
Hello World on a Timer
Tads Basic Checker Class
A Simple FLV Player
Simple getter use
A liaison Class
Parent Child Control
Wrapper to server bridge
Primative Space Shooter Game
Simple XML Loader
Primative Speed Simulation
Simple Sound Mixing
Welcome to actiontad.com
 


You have found my ActionScript site!
My name is Tad and I am an ActionScript, JavaScript, PHP and Web developer.

This website is the place for pure ActionScript 3.0 examples.

To get the full use of this site you should have IE 8 or FireFox 3.6+ or Google Chrome 4+,
JavaScript and Flash Player 9+.
This site has an overview of the ActionScript 3 language and examples of its use.
The examples are in this format :
Drawing a Circle :
package
{

import flash.display.Sprite;
import flash.display.Graphics;


  public class DrawingACircle extends Sprite
  {


	public function DrawingACircle()
	{
		var mySprite:Sprite = new Sprite();
 		mySprite.graphics.beginFill(0x00FF00);
		mySprite.graphics.drawCircle(0,0, 20);
		addChild(mySprite);
		mySprite.x = stage.stageWidth/2;
		mySprite.y = stage.stageHeight/2;
	}



  }

}

One focus of this site is the compiling of pure simple code as above, without mxml.
There are many different pure code examples, from blackjack to sound mixing to forms and ping pong.
New examples get added every so often.
When JavaScript and a Flash Player are present, with the example code,
an example swf will load showing you what the code does when compiled.

In my blog there are more actionscript and web related topics... and I also sometimes just rant.