Packageat.fhjoanneum.dmt.umj.core.events
Classpublic class MediaComponentEvent
InheritanceMediaComponentEvent Inheritance flash.events.Event

IMPORTANT FRAMEWORK CLASS: The MediaComponentEvent is your most important event ressource to work with your MediaComponents! It is e.g. dispatched by a MultilingualComponent when it is clicked. MediaComponents might also will trigger constants for playback starts, end, duration, currenttime (video, audio, animations).



Public Properties
 PropertyDefined By
  content : String
MediaComponentEvent
  targetComponent : GenericMediaComponent
MediaComponentEvent
  time : Number = 0
MediaComponentEvent
Public Methods
 MethodDefined By
  
MediaComponentEvent(type:String, lic:String = null)
MediaComponentEvent
  
clone():Event
[override]
MediaComponentEvent
Public Constants
 ConstantDefined By
  COMPONENT_WAS_CREATED : String = COMPONENT_WAS_CREATED
[static]
MediaComponentEvent
  MOUSE_CLICK : String = MOUSE_CLICK
[static]
MediaComponentEvent
  PLAYBACK_COMPLETE : String = PLAYBACK_COMPLETE
[static]
MediaComponentEvent
  PLAYBACK_CURRENTTIME : String = PLAYBACK_CURRENTTIME
[static]
MediaComponentEvent
  PLAYBACK_DURATIONCHANGE : String = PLAYBACK_DURATIONCHANGE
[static]
MediaComponentEvent
Property Detail
contentproperty
public var content:String

targetComponentproperty 
public var targetComponent:GenericMediaComponent

timeproperty 
public var time:Number = 0

Constructor Detail
MediaComponentEvent()Constructor
public function MediaComponentEvent(type:String, lic:String = null)



Parameters
type:String
 
lic:String (default = null)
Method Detail
clone()method
override public function clone():Event

Returns
Event
Constant Detail
COMPONENT_WAS_CREATEDConstant
public static const COMPONENT_WAS_CREATED:String = COMPONENT_WAS_CREATED

MOUSE_CLICKConstant 
public static const MOUSE_CLICK:String = MOUSE_CLICK

PLAYBACK_COMPLETEConstant 
public static const PLAYBACK_COMPLETE:String = PLAYBACK_COMPLETE

PLAYBACK_CURRENTTIMEConstant 
public static const PLAYBACK_CURRENTTIME:String = PLAYBACK_CURRENTTIME

PLAYBACK_DURATIONCHANGEConstant 
public static const PLAYBACK_DURATIONCHANGE:String = PLAYBACK_DURATIONCHANGE