Packagenet.ximpel.media
Interfacepublic interface IMediaType extends mx.core.IUIComponent
ImplementorsPicture, StandardVideo, YouTubeVideo



Public Properties
 PropertyDefined by
  typeName : String
[read-only]
IMediaType
Public Methods
 MethodDefined by
  
playMedia(mediaData:XML):Boolean
Plays media.
IMediaType
  
stopMedia():Boolean
Stops media.
IMediaType
  
IMediaType
Property detail
typeNameproperty
typeName:String  [read-only]Implementation
    public function get typeName():String
Method detail
playMedia()method
public function playMedia(mediaData:XML):Boolean

Plays media.

Parameters
mediaData:XML — XML data given that can be used for playing the media

Returns
Booleantrue if playing the media is succesful; false otherwise.
stopMedia()method 
public function stopMedia():Boolean

Stops media.

Returns
Booleantrue if stopping the media is succesful; false otherwise.
togglePauseMedia()method 
public function togglePauseMedia():void