Adobe ATMOSPHERE User Manual page 366

Table of Contents

Advertisement

354
APPENDIX E
time
Moves the SWF movie to the specifi ed time, and renders it. Note that the movie must be paused for this property
to have an effect.
SWFtimeElem.time = 5; //render the movie at the 5 second mark
loop
Causes the SWF movie to loop continously from beginning to end when playing.
SWFtimeElem.loop = true;
opacity
Sets the opacity of the SWF movie where 1 = 100%.
SWFtimeElem.opacity = 0.5; //set to 50% opacity
comp
Composites the movie frame by frame. This causes the movie to only update changed portions of the frame,
without redrawing the entire movie area.
SWFtimeElem.comp = true;
clip
Sets the clipping state of the SWF movie.
SWFtimeElem.clip = true;
base
Returns the path of the folder in which the SWF movie resides.
rootFolder = SWFtimeElem.base;
path
Returns the full path of the SWF movie fi le.
moviePath = SWFtimeElem.path;
Methods
start()
Starts playing the SWF movie from the last position stopped.
SWFtimeElem.start();
stop()
Stops the SWF movie.
SWFtimeElem.stop();
rewind()
Rewinds the SWF movie to the beginning. Note that the movie area will not be updated until you call "start()"
again.

Advertisement

Table of Contents
loading

Table of Contents