Packageblitting.controller
Classpublic class MovieClipController
InheritanceMovieClipController Inheritance flash.events.EventDispatcher
Implements IController, ISingleton

Traverse the display list capturing current state of movie clips to pause and resume all currently playing clips.



Protected Properties
 PropertyDefined By
  state : Dictionary
MovieClipController
Public Methods
 MethodDefined By
  
MovieClipController
  
[static] Return singleton instance.
MovieClipController
  
play(movieClip:MovieClip):void
Resume this and all children movie clips looking up their playback state upon pause.
MovieClipController
  
remove(movieClip:MovieClip):void
Remove a movie clip from the index.
MovieClipController
  
stop(movieClip:MovieClip):void
Pause this and all children movie clips by calling stop while capturing current play state in an index.
MovieClipController
Property Detail
stateproperty
protected var state:Dictionary

Constructor Detail
MovieClipController()Constructor
public function MovieClipController()



Method Detail
getInstance()method
public static function getInstance():MovieClipController

Return singleton instance.

Returns
MovieClipController
play()method 
public function play(movieClip:MovieClip):void

Resume this and all children movie clips looking up their playback state upon pause. If the movie clip was playing when paused, it will resume playing by calling play on the movie clip.

Parameters

movieClip:MovieClip

remove()method 
public function remove(movieClip:MovieClip):void

Remove a movie clip from the index.

Parameters

movieClip:MovieClip

stop()method 
public function stop(movieClip:MovieClip):void

Pause this and all children movie clips by calling stop while capturing current play state in an index.

Parameters

movieClip:MovieClip