Community Map Builder 27 Apr 2008

Class MovieLoop

Object
   |
   +--ToolBase
         |
         +--MovieLoop

class MovieLoop
extends ToolBase

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

delay

Object delay

frameIncrement

Object frameIncrement

frameIsLoading

Object frameIsLoading

isRunning

Object isRunning

maxFrames

Object maxFrames

movieTimer

Object movieTimer

timestampIndex

Object timestampIndex

Constructor Detail

MovieLoop

MovieLoop(toolNode, model)

Method Detail

init

void init(objRef)

nextFrame

void nextFrame(step)

pause

void pause()

play

void play()

reset

void reset(objRef)

setFrame

void setFrame(index)

setFrameLimits

void setFrameLimits(objRef)

stop

void stop()

stopListener

void stopListener(objRef)

uninit

void uninit(objRef)

Community Map Builder 27 Apr 2008

Documentation generated by JSDoc on Sun Apr 27 20:30:54 2008