Quantunet.com

My Account

Joins Us
"I have not failed. I have just found 10,000 ways that won't work." .............Flash 8 Knowledgebase
Intermediate Flash Knowledgebase

Courses & Lessons

ClickbyClick
Flash Maps Icon
Video Maps

QuickSkills

Worksheets

Knowledgebase

AS Library

Text In Flash II
Using device fonts
Embedding fonts
Breaking apart text

Text fields In Flash
Static text fields
Dynamic text fields
The Input text field
Compare and contrast dynamic, static and input text fields

Referencing an input text field in AS
Referencing a dynamic text field in AS

Masking
Why use image masking
How masking works

Movie Clip Control I

Using gotoAndplay()
Using play()
Using stop()
Using gotoAndStop()

as ActionScript Intro

What is "action script" kb
Showing the actions panel
The action script editor
Using actionscript hinting
The difference between as 1.0 and as 2.0

as Drawing API

Drawing a line
Drawing multiple lines
Drawing a curve
Drawing shapes (triangle)
Drawing a rectangle
Creating a color fill
Creating a gradient color fill

Drawing a simple wave I (lineTo)
Drawing a sine wave II (curveTo)
Drawing a simple circle (curve to)

as Drawing API II

Using custom functions
Drawing a rectangle
Drawing a round rectangle
Drawing a circle
Drawing regular polygons I (triangle)
Drawing a sine wave

Using custom methods
Drawing a circle II
Drawing an oval II
Drawing a round rectangle II
Drawing a polygon II

Drawing fills I
Drawing fills II

as Constants

What is a constant
Types of constants
Defining a value for a constant
Using constants in actionscript

as Variables

What are variables
What are local variables
What is a global variable
Defining a variable in as
Declaring a the value of a variable as

as Operations

Basic Operations
What what is an operation
Using trace
Addition
subtraction
Multiplication
Division
Building expressions
Manipulating numerical data using Math
Logical operators
equal to
less than
more than
less than or equal to
more than or equal to
not equal to

as Strings

What is a fstring
Entering data into a string
Reading data from a string
Checking # characters are in a string
cCunting characters in a string

as Functions

What is a function
Custom function statements
Custom function expressions
Creating functions that return results
Calling a function with a parsed parameter

as Parameters

What are parameters ?

as Controlling ActionScript Operations

Object Methods
Controlling Actionscript

as Recursive functions

Why Loop functions
The for loop
The for in loop
The while loop
The do loop

as
The Math Class

The math class

round
random
abs


sqrt
pow


log
exp


sin
cos
tan

asin
acos
atan


ceiling
floor
ma
min


as
Simple Math Calculators

Addition calculator
Subtraction calculator
Multiplication calculator
Division calculator

round
random
abs


sqrt
pow


Logarithm
Exponent


Sine calculator
Cosine calculator
Tangent calculator

asin
acos
atan


ceiling
floor
ma
min

as Logic In Flash

Conditional Statements
using if
using if else operators
nested ifs
complex ifs
using switch

as Target Objects With ActionScript

Actionscript object hierarchy
Nested movie clips
Using  "_root"
Using "_parent"
Using ".this"
Using
"with"
Referencing nested movie clips
Referencing movie clips in different scenes
Referencing examples

as Event handlers

Mouse event handlers
onMousemove()

onMouseDown()

Button Event Handlers
onPress()

Movie Clip Event Handlers
onEnterFrame()
onload()
onfinish()
onClipEvents()

updateAfterEvent()

as Working With MC's
 
Attaching movieclips at run time
attachMovieClip()
Attach a move clip
Attach multiple movie clips
Attach multiple instances random pos
Attach multiple instances random position &, color
Attach multiple instances random color, size, relative to mouse position
Attach multiple instances set position
Attach multiple instances on left click
Attach multiple instances using a button

Duplicating a Movie Clip
duplicateMovieClip()
Duplicate an instance using a button

Removing Movie Clips
removeMovieClip()
Remove an mc instance using a button
Remove multiple instances

Create an Empty MovieClip
createEmptyMovieclip()

Using LoadingMovie()
loadMovie()
Loading internal movie clips
Loading external movie clips
Loading an external image
Loading multiple external images

What is depth
Why is mc depth important ?
Changing movie clip depth
Sorting mc depth
swapDepths

as Actionscript & Buttons
 
actionscript in buttons
button actionscript on the main timeline

Play a movie clip
Stop and movie clip
Forward to next scene
Rewind to las scene

Rotate a movie clip
Scale a movie clip

as Event Listeners
 
The Listener knowledgebase

Listeners for UI components
A simple button listener
A toggle button listener
A radio button listener
A slider listener

A mouse listener scroll wheel
A key listener
Using multiple listeners

Creating a custom listener

Using the event dispatcher

as ActionScript Motion Tweening

Basic horizontal as motion tween
Basic 2d as motion tween

Multiple point 2d motion tween

Vertical scale tween
Zoom tween effect

Brightness tween
Color tween
Alpha tween

Rotation tween
Skew tween

Combination Tweens
Diagonal position and alpha tween


as Actionscript Easing

Linear velocity no easing
Classic actionscript ease
Classic actionscript easeout
Simple mouse position easing


EaseIn and stop
EaseOut and stop off screen


Scale easeIn
Scale easeIn and Out
Rotate Ease Out
Rotate Ease Inand Out


Ball on slope
Parabolic motion Tween
Simple Harmonic Motion
Ball on spring
Parabolic Zoom And Move


as Tween & Easing Classes

What is a class in actionscript?
The tween classes in flash
The easing classes in flash
The tween class constructor
The easing class constructor

as Tween Class


Tween class horizontal position tween
Tween class horizontal scale tween
Tween class zoom tween
Tween class rotation tween continue to
Combination tweens
Rotation, Scale and alpha tween


as Bouncing Ball Series II Using the Tween Class

1 Dimensional
Vertically moving ball
Falling ball + gravity ease
Bouncing ball + gravity ease
2 Dimensional
2D bouncing ball
2D bouncing ball + friction ease
2D bouncing ball + friction + spin

as Flash Audio I

Creating a new sound object
Create a simple on/off button
Create a simple play, stop, pause player

Create volume adjust buttons
Creating pan adjust buttons

as Actionscript Text Fields I

Creating a text field in as
Set a text field to display html
Set text field to autosize
Setting the background color text field
Create an outline around a text field
Make the text in a text field selectable

Creating a text format object
Set text color
Set text size
Set text font
as Mouse Interactions

Hiding the mouse cursor
Replace cursor
Replace cursor II cross hairs
Follow mouse position
Showing mouse coordinates
Follow mouse with easing

Detecting mouse events
using onPress
using onRelease
Detecting the scroll wheel

as Key Interactions

Using the UP arrow key
Using the UP and Down arrow keys
Using UP, Down Left & Right Keys
Using the arrow keys with rotation
Creating forward back and rotate keys
Using UP, Down Left & Right Keys II

Using arrow key listeners I
Using arrow key listeners II

as Collisions

Collision emulation
Basic collision with a wall

Basic collisions in a 1d box
Basic collisions in a 2d box
Basic collisions in a 2d box II

Using Built In Collision Detection
Simple mc to mc hit test
Point and mc hit test
Point and visible shape hit test

Custom Collision Detection
Separation distance hit test I
Separation distance II

Collision Detection Applied
2 balls in a box + collision detection
2 balls in a box + collision + elasticity

Multiple balls in a box + collisions
Multiple balls in a box + coll + elasticity
Multiple balls in box + coll + elast + g

as Random Motion

Random positioning on stage I
Random positioning II

Simple random motion 1d
Simple random motion 2d

Eased random motion 2d swarm balls
Eased random motion 2d swarm blood


Brownian motion
Brownian motion I
Brownian motion II (paths)
Brownian motion in a box

Circular distributions
Quasi linear distributions

as Actionscript Easing

as Bouncing Ball Series III Using Custom Actionscript

1 Dimensional
Bouncing ball
Bouncing ball + gravity
Bouncing ball + gravity + elasticity
2 Dimensional
2D bouncing ball + g + e + friction
2D bouncing ball + g + e + f + roll

Experimenting with gravity
Experimenting with elasticity

2D bouncing ball in box + elasticity
2D bouncing ball in box + e + throw

as Actionscript Masking

Why use Actionscript for masking ?
Simple static actionscript mask
Creating a dragable mask
Creating a simple reflection effect (AS)

as Drag & Drop

Drag & Drop knowledgebase
Basic drag I
Basic drag II (snap to mouse)
Basic drag III (release outside)
Drag in confined area

Dragable box
Linked drag able boxes
Linked draggable boxes branched

Making a draggable mc slide on a rail
Calculating slider values I (100px)
Calculating slider values II (ratios)
Creating a dynamic scale control slider
Creating a simple volume slider sound()

Drag and drop on a single target
Drag and drop on multiple targets
Simple Drag and drop map

as Elastic Motion

Elastic Motion with the tween class
1D elastic motion easing
2D elastic easing
2D elastic easing to mouse position

Elastic Motion Custom Actionscript
What is elastic motion?
1D elastic motion
1D elastic motion + friction I

2D elastic motion + friction II
2D elastic motion + friction + inertia III
2D elastic motion comparison

Vertical spring with gravity
Gravity comparison
2D multiple springs/ forces.

2 ball elastic link
3 ball elastic link
Simple molecule simulation
Multiple ball elastic chain

Elastic rope I (one end fixed)
Elastic rope II (both ends fixed)

as Trigonometry

Trigonometry
Evaluating trig functions
Evaluating the the Sine function Evaluating the Cosine function
Evaluating the Tangent function

Displaying the quadrant angle
Finding the distance between two points


Simple Harmonic Motion
Simple vertical shm
Pulsing scale shm

Wave motion with trig 2D
Basic 2d wave motion
Basic 2d wave drawing (api)

Dynamically drawing a circle (api)
Dynamically drawing an ellipse (api)
Dynamically drawing dual waves (api)

Simple pendulum

Orbiting With Trigonometry
Basic orbit I
Basic orbit II
Basic orbit with data

2D orbit perspective
3D orbit perspective and x,y motion

as Preloading Content

Loading and Preloading

Basic preloader
Basic preloader with percent loaded
Basic preloader with progress bar

Preloader with progress bar component
Preloader pure actionscript
Dynamic Preloader I (Staggered loading)

Dynamically preloading external pics
Dynamically preloading external swfs
Dynamically preloading external mp3 files

as Loading External Content Into A Movie Clip

Loading external png files into an mc
Loading external swfs into an mc
Loading external mp3 files into an mc

© 2008 Quantunet LLC All Rights Reserved | Intellectual Property | Terms of Use | Privacy
Home | About Quantunet | FAQ's | Contact Us