Flash ActionScript 3.0 game programs & tutorials
- Coin Toss
Tutorial for ActionScript 3.0 for basic coin toss (if statement,button, random, text fields) with comments on changes from ActionScript 2.0
- Rock, Paper, Scissors
Tutorial for ActionScript 3.0 for rock, paper, scissors.
Source (fla) file for partial implementation of Rock, Paper, Scissors in ActionScript 3.0 (cel animation, buttons, game logic)
- Spoof: a guessing game played in pubs, ActionScript 3.0 Tutorial for Spoof: radiobuttons, random, Flash source for spoof game.
- Bouncing Ball
Tutorial for ActionScript 3.0 for simulation of a bouncing ball (Timer, hitTestPoint for collisions, input text field)
Bouncing Ball: balls created by mouse events, random colors
Bouncing things: balls, rectangles, stars created; random colors and rotation; objects stop & can be swept away
Tutorial (Timer events, classes, inheritance, linkage, colorTransform, hitTestObject, removeChild)
- Cannon ball (ballistics)
Tutorial for ActionScript 3.0 for cannonball (Timer, hitTestPoint for collisions, Math class methods, cel animation and computed animation
- Simple examples (commented Flash source) for mouse events
Flash source: slide show.. NOTE: see also Templates in Flash.
Flash source: simple drag and drop: addEventListener, MOUSE_DOWN, MOUSE_UP
Flash source: drag and drop area: move remote object: addEventListener, MOUSE_DOWN, MOUSE_OUT, MOUSE_UP
Flash source: set of buttons, moving remote object: addEventListener, MOUSE_DOWN, MOUSE_OUT, CLICK, MOUSE_UP
Flash source: set of buttons, moving remote object only horizontally (x): addEventListener: MOUSE_OVER, CLICK, MOUSE_MOVE
- Lizard Jigsaw with build, mixup and check buttons
Lizard Jigsaw with automatic checking
Lizard Jigsaw with idler/attractor
Tutorial for ActionScript 3.0 for jigsaw (class, static class methods, pieces as objects of the Piece class, external .as file, KeyBoard, Mouse and Timer events, composition of objects).
- Menu program: loading external Flash movies. Tutorial/Notes on how to load another Flash movie.
- Presidential preference survey
Tutorial for ActionScript 3.0 to php for survey (radio buttons, URLRequest, URLLoader, php, flat file)
Show vote totals
-
Shooter, base shooting game, arrow keys, can build on to make your own
Improved Shooter: automatic focus, health bar
Tutorial for ActionScript 3.0 for shooter (multiple classes, keyboard, multiple timer events, collisions, hitTestObject, arrays, dynamic creation of text, text formatting, focus)
- Memory / Concentration game
Tutorial for ActionScript 3.0 for memory / concentration game (class, class variables and object variables, linkage, simple shuffle, using addChild to display created objects and associate objects)
- Play single video,
Play choice of two videos,
Tutorial for simple playback
- Interfaces for playing video clips based on information in a database:
- Using a calculation based on camera input to determine which video to play
Back to Jeanine Meyer's Academic Activities page