Packagecom.ithaca.timeline
Classpublic class PlayPauseButton
InheritancePlayPauseButton Inheritance spark.components.Group
Implements mx.core.IStateClient2

A simple play pause button; the play/pause icon is set according to the state of the 'isPlaying' property of the Timeline.

Default MXML PropertymxmlContent



Public Properties
 PropertyDefined By
  playPauseButton : Button
PlayPauseButton
  timeline : Timeline
PlayPauseButton
Public Methods
 MethodDefined By
  
Constructor.
PlayPauseButton
  
PlayPauseButton
Protected Methods
 MethodDefined By
  
creationCompleteHandler(event:Event):void
PlayPauseButton
Property Detail
playPauseButtonproperty
public var playPauseButton:Button

This property can be used as the source for data binding.

timelineproperty 
public var timeline:Timeline

Constructor Detail
PlayPauseButton()Constructor
public function PlayPauseButton()

Constructor.

Method Detail
creationCompleteHandler()method
protected function creationCompleteHandler(event:Event):void

Parameters

event:Event

onCurrentTimeChange()method 
public function onCurrentTimeChange(event:TimelineEvent):void

Parameters

event:TimelineEvent