Packageat.fhjoanneum.dmt.umj.core.content.media.presentation
Classpublic class PresentationComponent
InheritancePresentationComponent Inheritance PresentationComponentDefinition Inheritance spark.components.SkinnableContainer

PRESENTATIONCONTENT ONLY COMPONENT: This Component handles all states on its own and can be added to anywhere you want. Its visual representation will change per time and you can start / pause, seek and replay it. Make sure to use a method to set a global timer for all your presentationComponents if you want them to synchronize!

Default MXML PropertymxmlContentFactory



Public Properties
 PropertyDefined By
 InheritedcountDownGroup : VGroup
PresentationComponentDefinition
 InheritedcountdownTicker : Label
PresentationComponentDefinition
  countDownTickerAndTextActivated : Boolean = false
PresentationComponent
 InheriteddebugTickerGroup : Group
PresentationComponentDefinition
 Inheritedlbl_ticker : Label
PresentationComponentDefinition
  playheadPositionInSeconds : Number
PresentationComponent
Public Methods
 MethodDefined By
  
PresentationComponent(linkedPresentationElement:PresentationElement = null)
PresentationComponent
  
PresentationComponent
  
play():void
PresentationComponent
  
replay():void
PresentationComponent
  
resetAudioMuted(mute:Boolean):void
PresentationComponent
  
resetManagedTimerForGlobalTicker(globalTimer:Timer):void
PresentationComponent
  
seekTo(second:Number, playAfterSeek:Boolean):Boolean
PresentationComponent
  
stop():void
PresentationComponent
  
PresentationComponent
Protected Methods
 MethodDefined By
 Inherited
PresentationComponentDefinition
 Inherited
PresentationComponentDefinition
Events
 Event Summary Defined By
  PresentationComponent
  PresentationComponent
  PresentationComponent
  PresentationComponent
  PresentationComponent
  PresentationComponent
Property Detail
countDownTickerAndTextActivatedproperty
public var countDownTickerAndTextActivated:Boolean = false

playheadPositionInSecondsproperty 
playheadPositionInSeconds:Number


Implementation
    public function get playheadPositionInSeconds():Number
    public function set playheadPositionInSeconds(value:Number):void
Constructor Detail
PresentationComponent()Constructor
public function PresentationComponent(linkedPresentationElement:PresentationElement = null)



Parameters
linkedPresentationElement:PresentationElement (default = null)
Method Detail
finishAllAnimations()method
public function finishAllAnimations():void

play()method 
public function play():void

replay()method 
public function replay():void

resetAudioMuted()method 
public function resetAudioMuted(mute:Boolean):void

Parameters

mute:Boolean

resetManagedTimerForGlobalTicker()method 
public function resetManagedTimerForGlobalTicker(globalTimer:Timer):void

Parameters

globalTimer:Timer

seekTo()method 
public function seekTo(second:Number, playAfterSeek:Boolean):Boolean

Parameters

second:Number
 
playAfterSeek:Boolean

Returns
Boolean
stop()method 
public function stop():void

updatePresentationComponent()method 
public function updatePresentationComponent(newPresentationElement:PresentationElement):void

Parameters

newPresentationElement:PresentationElement

Event Detail
PRESENTATION_PAUSED Event
Event Object Type: at.fhjoanneum.dmt.umj.core.events.PresentationComponentEvent

PRESENTATION_REPLAY Event  
Event Object Type: at.fhjoanneum.dmt.umj.core.events.PresentationComponentEvent

PRESENTATION_SEEKED Event  
Event Object Type: at.fhjoanneum.dmt.umj.core.events.PresentationComponentEvent

PRESENTATION_STARTED Event  
Event Object Type: at.fhjoanneum.dmt.umj.core.events.PresentationComponentEvent

PRESENTATION_SWITCHING_STATE Event  
Event Object Type: at.fhjoanneum.dmt.umj.core.events.PresentationComponentEvent

PRESENTATION_TICK Event  
Event Object Type: at.fhjoanneum.dmt.umj.core.events.PresentationComponentEvent