Packageat.fhjoanneum.dmt.umj.core.content.media.components
Classpublic class MediaComponentSound
InheritanceMediaComponentSound Inheritance GenericMediaComponent Inheritance GenericMediaComponentDefinition Inheritance spark.components.SkinnableContainer

MEDIA COMPONENT: This is THE ACTUAL IMPLEMENTATION of the (visual) representation of a sound typed localizedItem = mp3s ONLY!

Default MXML PropertymxmlContentFactory



Public Properties
 PropertyDefined By
 InheritedabstractContent : String
[read-only]
GenericMediaComponent
 InheritedcomponentWasCreated : Boolean
[read-only]
GenericMediaComponent
  RAISE_ERROR_ON_SOUND_NOT_FOUND : Boolean = false
[static]
MediaComponentSound
  soundComponent : MediaComponentSoundVisuals
[read-only]
MediaComponentSound
  USE_FADE_ANIMATION_FOR_VOLUME_START_STOP : Boolean = false
[static]
MediaComponentSound
  USE_FADE_ANIMATION_FOR_VOLUME_START_STOP_DURATION : Number = 500
[static]
MediaComponentSound
  USE_FADE_ANIMATION_FOR_VOLUME_START_STOP_MAX_VOLUME : Number = 0.5
[static]
MediaComponentSound
Protected Properties
 PropertyDefined By
 Inherited_abstractContent : String = no content information
GenericMediaComponent
 Inherited_componentWasCreated : Boolean = false
GenericMediaComponent
Public Methods
 MethodDefined By
  
MediaComponentSound
  
activate():void
[override]
MediaComponentSound
  
deactivate():void
[override]
MediaComponentSound
  
mute():void
MediaComponentSound
  
pause():void
MediaComponentSound
  
play():void
MediaComponentSound
  
refreshContent(content:String):void
[override]
MediaComponentSound
 Inherited
setScaling(scaling:String = none):void
GenericMediaComponent
  
unmute():void
MediaComponentSound
Protected Methods
 MethodDefined By
 Inherited
GenericMediaComponent
Events
 Event Summary Defined By
 InheritedGenericMediaComponent
 InheritedGenericMediaComponent
  MediaComponentSound
Property Detail
RAISE_ERROR_ON_SOUND_NOT_FOUNDproperty
public static var RAISE_ERROR_ON_SOUND_NOT_FOUND:Boolean = false

soundComponentproperty 
soundComponent:MediaComponentSoundVisuals  [read-only]


Implementation
    public function get soundComponent():MediaComponentSoundVisuals
USE_FADE_ANIMATION_FOR_VOLUME_START_STOPproperty 
public static var USE_FADE_ANIMATION_FOR_VOLUME_START_STOP:Boolean = false

USE_FADE_ANIMATION_FOR_VOLUME_START_STOP_DURATIONproperty 
public static var USE_FADE_ANIMATION_FOR_VOLUME_START_STOP_DURATION:Number = 500

USE_FADE_ANIMATION_FOR_VOLUME_START_STOP_MAX_VOLUMEproperty 
public static var USE_FADE_ANIMATION_FOR_VOLUME_START_STOP_MAX_VOLUME:Number = 0.5

Constructor Detail
MediaComponentSound()Constructor
public function MediaComponentSound(url:String)



Parameters
url:String
Method Detail
activate()method
override public function activate():void

deactivate()method 
override public function deactivate():void

mute()method 
public function mute():void

pause()method 
public function pause():void

play()method 
public function play():void

refreshContent()method 
override public function refreshContent(content:String):void

Parameters

content:String

unmute()method 
public function unmute():void

Event Detail
PLAYBACK_COMPLETE Event
Event Object Type: at.fhjoanneum.dmt.umj.core.events.MediaComponentEvent