Part I: Basics of ActionScript
What is ActionScript,
Important Things to Remember,
Naming Movie Clips,
Stop!,
Live demo of the ball stop movie,
Stop Again!,
Play!,
Self Study QuestionsLive demo of the ball stop play movie,
A Spinning Star,
Spin with enter frame event,
Demo of adding frame event,
Spin with timer,
Spin with variable to change speed,
Navigate to a Web PageProperties,
MovieClips and the StageClick Event: A spinning ball,
Buttons for Navigation,
Frame Event: A Spinning Star,
A Moving Ball, The trace() command,
How to Make Tea: A Demo MovieVariables,
Blast Off!,
Relaunch and fire,
Select a star to spin,
Select ANY star to spinOperators,
Order of Operations,
Algebra,
Convert Inches to Feet and Inches using %,
Sales Tax: Select decimal values with a Slider componentMath functions,
Arrow follows cursor,
A Yo-yo with sin function,
Eyes follow the cursorRandom Numbers: Rolling Dice,
Debugging the Dice movie,
Add different flowers on clickBoolean Properties,
Moving Ball: Using if,
Greetings: Boolean Operators,
Bouncing Ball: Using OR,
Clicker Clown: Using Else,
Making Tea using switchSpinning Stars: Objects,
A Spinner Class,
The Spinner Movie: Using a Class,
The Clicker Class,
Add new instance at run time,
Add new instance at run time DEMO,
Create a Flasher classCreate a class: Start with a movie,
Create a class: Bubble,
Create a class in Flash,
Variables,
Constructor,
Functions,
Imports,
Linkage,
A Water Class,
A Flag ClassCreating a Bobbing Action,
One Bobbing Fish,
Code for Bobbing Fish,
Creating the Bobbing Class,
Using the classIntroduction to Loops,
While Loops,
Endless Loops,
for Loops,
do while Loops,
Spinning Stars,
Stop stars created dynamicallyIntroduction to Arrays,
A Scrolling Message,
Message ChangesPart II: Classes (Object Oriented Programming)
Play a sound from a URLTimer Class,
Sound Class,
URLRequest to play a sound,
Start and Stop a Sound with a Channel,
URLRequest to Open the Browser,
Add New Child at Runtime,
List to download classesThe Document Class,
Create a Navigation Class,
Create New Movie with the Navigation Class,
A Puzzle Document Class,
Puzzle Demo,
The Bear PuzzlePart III: Communications
A moving ball,
Publish the movie,
Parameters: Getting values from the HTML,
Multiple Parameters,
Where am I?Capturing Keyboard Events,
Using Keys to Move Object,
Keyboard Constants,
Combining Keys and ButtonsA simple drag and drop example,
e.target: Using the same code for many shapes,
Dynamically generated stars,
Drag and drop dynamically generated shapes,
Naming dynamically generated starsDetect if an object hit another,
Detect if an object hit a target inside another,
Catch a Falling Star Game,
Add a paddle,
Add code to movie for hit and miss,
Modify FallingStar to hit and miss,
Add code to move the paddleThe String Class,
String Functions,
Anagrams,
CryptogramsIntroduction to XML,
XML Messages,
A Quiz,
Shuffle the Questions,
Loading Pictures and SoundsPart IV: Special Techniques
Change the Color: ColorTransform,
Prepare a Flower for changing petal color,
Change the color of the Flower,
Color Picker Component,
Pick Color with ColorPicker Component,
A Random Color,
A Random Color with a lighter and darker shading,
Shading the Flower with a ColorPicker,
Random Shades of a ColorIntroduction to Components,
ComboBox: Select a Vehicle,
ComboBox: Demo,
ComboBox: DataBinding in ActionScript,
Radio Buttons,
Check Boxes,
Numeric StepperIntroduction to Drawing in ActionScript,
Drawing Multiple Shapes,
Drawing a FaceIntroduction to the Date Class,
The Date,
A Digital Clock,
An Analog Clock (with hands)Index
ActionScript