User Guide

ADOBE ATMOSPHERE 353
User Guide
timeElem.rewind ();
trigger()
Tells the time element to rewind and start playing.
timeElem.trigger ();
setSpeed()
Sets the speed of the time element and all its children.
timeElem.setSpeed (0.5);
setPlayOnce()
Set the play once fl ag, that if true, tells the time element to play once and then stop.
timeElem.setPlayOnce (false);
getChild(index or name)
Gets the child time element specifi ed by the name or index.
child = timeElem.getChild (“Foot”);
getChildCount()
Gets the number of child time elements.
numChildren = timeElem.getChildCount ();
MTSTimeElemSWFView
An MTSTimeElemSWFView is used to represent a Viewpoint Time Element of type “SWFView”. An SWFView
contains an SWF vector-based animation and renders it into a surface texture each timestep. This object also inherits
all the methods of the MTSBaseObject.
Properties
running
Controls whether the SWF movie is playing.
isRunning = SWFtimeElem.running;
pauseTime
Pauses time at the current location in the SWF movie.
SWFtimeElem.pauseTime = true;
realTime
Attempts to drops frames as necessary to maintain movie animation rate.
SWFtimeElem.realTime = true;