Flash and ActionScript
Since 1999, this page has been home to a giant collection of Flash and ActionScript tutorials covering everything from first animations to AS3-heavy experiments, game dev, sound, and visual effects.
Modern version
The tutorials here use Flash, which browsers no longer run. For the modern take with HTML, CSS, and JavaScript, start with Web Animation and Learn JavaScript.
Categories
Basics and Animation
Drawing and Design
Common Tasks
ActionScript Basics
- Introduction to OOP
- Classes in ActionScript 3
- Classes and MovieClips
- Arrays in AS3
- Shuffling an Array
- Finding Maximum / Minimum Value in Array
- Parsing External Array Data
- Finding Values in an Array
- Associative Array Access
- Random Numbers in Flash
- Advanced Random Numbers in AS3
- Introduction to 3D using AS3
- Specifying a Document Class
- Hiding Mouse Cursor After Some Time
- If and Else Statements
- Physics-Based Bounce Effect
- Trigonometric Animations
- What removeMovieClip Becomes in AS3
- Removing Things using Code
- Measuring Performance in Flash/AS3
- Changing Color in ActionScript 3
- Random Colors in AS3
- Changing Colors
- Counting in Binary and Hexadecimal
- Reading RGB/aRGB Color Values
- Using the Keyboard in AS3
- Tweening with Code
- Animating with TweenLite
- Using the Drop Shadow Filter in AS3
- Introduction to XML in Flash
- Using XML in Flash CS3/AS3
- Displaying XML Data in Flash
- XML-Driven Drop-Down Menu
- Photo Gallery using XML and Flash
- Animating Dynamic MovieClips in AS3
- Random Movement in AS3
- Displaying Library Content in AS 3.0
- Auto-Resizing and Centering your Content
- Managing Movie Clip Instances
- Detecting When Mouse Leaves Movie
- Detecting Direction of Mouse Movement in AS3
- Finding the Distance Between Two Points
- What is Flex? Why Use It?
- Creating a Hello World Application in Flex
- Flex Application Anatomy
- Duplicate Movie Clips
- Detecting Mouse Direction
- Calculating Distance
- Binary-Decimal Conversion
- Tab Ordering Forms
- Functions
- AS2.0 Variable Names
- Comment Your Code
- Naming Conventions
- Global Variables
- Variable Scope
- Relative Addressing
- Flash, PHP, and MySQL Integration
- Live Hit Counter Flash/PHP
- Flash Email Form
- Login Using Flash MX, PHP, and MySQL
- Use Flash with PHP and mySQL
- Displaying Flash Data in PHP
- Displaying Google Maps in Flash
- Using the Timer
- Fast Sorting with QuickSort
- Depth First and Breadth First Search
- Abstract Data Types
- Detecting What is Supported
- Parallax
- Changing the Mouse Cursor
External Data
Sound
Special Effects
- Creating a Multi-State Icon
- Fading out Letters in Text
- Easy Drag and Drop in Flash/AS3
- Colorful Explosion
- Collision Detection among Multiple Objects
- Advanced Collision
- Predicting Collisions
- Elastic Collisions
- Falling Snow in Flash CS4/AS3
- Flash Snow 3.0
- Falling Snow 2.0
- Shine Effect
- Interactive Image Pan
- Sliding Menu
- Zoom Motion Blur
- Gradient Art
- Launch Centered Window
- Apply and Animate Filter Effects
- Flash Video Loops
- Creating a Platform Game
- Hover Captions
- News Ticker
- Duplicate Background
- Loading Random Quotes
- Adding Thumbnails
- Animated Blur
- Complex Button RollOut / RollOver Effects
- Liquify Image Effect
- Coloring Book
- Menu with Slider
- Creating the Shine Effect
- Random Motion
- Loading Random Movies
- Pausing Animation
- Masking Dynamic Text and Device Fonts
- Film Grain
- Transitions between External SWFs
- Timeline Effects
- Context Menu
- Using CSS Styles
- Applying CSS to Externally Loaded Text
- Chromeless Window
- Dynamic Mouse Trail Effect
- Mouse Trail
- Date Countdown Timer
- Vibration Effect
- Creating a Volume Control Slider
- Falling Snow
- Cartoon Animation
- Equilibrium Points
- Grassy Field: Case Study
- The Infinite Menu
- Easing on Mouse Click
- Mouse Follow with Easing
- Alpha Graphic Fade with Inertia
- News Flasher
- Circular Movement
- Launch a Centered Window
- Create a Photo Gallery
- Creating Continuous Movement
- Making Flash Movies Transparent
- Loading a Random Background
- Random Movement in Flash MX
- Fractals
- Fading Grid
- Creating a Grid in Flash/AS
- Mouse Actions
- Drawing Board: Draw in MX
- Digital Clock
- ActionScript Text Animation
- Outline Effect
- Analog Clock
- Real Fake Drag Mask
- Advanced Rollovers
- Follow Mouse
- Random Letter Cycling 2.0
- Getting Started with the Webcam
Isometry
Game Development
Other Resources
-
Hot off the Forums