|
Community Map Builder 27 Apr 2008 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--ToolBase
|
+--MovieLoop
Defined in MovieLoop.js
Author: Adair
| Field Summary | |
Object |
delay
|
Object |
frameIncrement
|
Object |
frameIsLoading
|
Object |
isRunning
|
Object |
maxFrames
|
Object |
movieTimer
|
Object |
timestampIndex
|
| Fields inherited from class ToolBase |
model, toolNode, enabled
|
| Constructor Summary | |
MovieLoop
(toolNode, model)
Controller for a movie loop. |
|
| Method Summary | |
void
|
init(objRef)
initialize the movie loop. |
void
|
nextFrame(step)
Advances the frame array by the frame increment. |
void
|
pause()
Stops the JavaScript movie loop timer. |
void
|
play()
Starts the movie loop playing by using a JavaScript timer. |
void
|
reset(objRef)
Resets the frame index to the firstFrame property |
void
|
setFrame(index)
Sets the frame to the specified index in the frame array |
void
|
setFrameLimits(objRef)
Listener fucntion to set the start and end frames based on the firstFrame and maxFrames property values. |
void
|
stop()
Stops the JavaScript movie loop timer and sets the index back to the first frame. |
void
|
stopListener(objRef)
A "stopLoop" event listener to call the stop method |
void
|
uninit(objRef)
set the initialized state of the movie loop to false |
| Methods inherited from class ToolBase |
initTargetModel, initMouseHandler, getProperty
|
| Field Detail |
Object delay
Object frameIncrement
Object frameIsLoading
Object isRunning
Object maxFrames
Object movieTimer
Object timestampIndex
| Constructor Detail |
MovieLoop(toolNode, model)
toolNode - The tool node from the config document for this tool
model - the model object that contains this tool
| Method Detail |
void init(objRef)
void nextFrame(step)
step - optional parameter to override default frame increment
void pause()
void play()
void reset(objRef)
objRef - pointer to this object
void setFrame(index)
index - the 0-based frame index in the frame array
void setFrameLimits(objRef)
objRef - pointer to this object
void stop()
void stopListener(objRef)
objRef - pointer to this object
void uninit(objRef)
|
Community Map Builder 27 Apr 2008 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||