User Guide

ADOBE ATMOSPHERE 355
User Guide
SWFtimeElem.rewind();
trigger()
Rewinds the SWF movie to the beginning and also starts the movie playing.
SWFtimeElem.trigger();
setSpeed()
Sets the speed of the SWF movie where 1 = 100%.
//run the movie at 50% speed
SWFtimeElem.setSpeed(0.5);
setPlayOnce()
Flags the movie to play only one time.
SWFtimeElem.setPlayOnce(true);
reverseDirection()
Sets the SWF movie to play backwards.
SWFtimeElem.reverseDirection(true);
getChild(index or name)
Gets the child Time Element specifi ed by index or name.
secondChild = SWFtimeElem.getChild(1);
// or
otherMovie = SWFtimeElem.getChild(“smallSWF”);
getChildCount()
Returns the number of children Time Elements contained by this parent.
totalTimeElems = SWFtimeElem.getChildCount();
Physics
FastConstraintSolver
A FastConstraintSolver is an object that contains a list constraints or actions between physical models. During
physics simulation, the FastConstraintSolver tries to satisfy all of the requirements for each listed contraint/action by
changing the position, orientation, and velocity of the physical models affected.
After creating a new FastConstraintSolver using the global method, the Solver has Local methods which are then used
to create different types of constraints and actions. Once a constraint/action is created, it must be added to an existing
Solver list using the Add...()” methods shown below. Several guidelines should be considered when determining
which constraints or actions should be added to an existing Solver: