Package | com.gestureworks.cml.element |
Class | public class MP3Element |
Inheritance | MP3Element MP3 ElementFactory flash.display.Sprite |
See also
Method | Defined By | ||
---|---|---|---|
MP3Element | |||
clone():*
Returns clone of self
| ElementFactory | ||
close():void
Closes mp3
| MP3 | ||
displayComplete():void [override]
CML initialization callback
| MP3 | ||
dispose():void [override]
Disposal method
| MP3 | ||
init():void [override]
Initialisation method
| MP3 | ||
open(file:String):void
Sets the src property from the argument and loads the mp3 file
| MP3 | ||
parseCML(cml:XMLList):XMLList
parses cml file
| ElementFactory | ||
pause():void
Pauses playback
| MP3 | ||
play():void
Plays from the beginning
| MP3 | ||
postparseCML(cml:XMLList):void
post parses the cml file
| ElementFactory | ||
resume():void
Resumes playback from paused position
| MP3 | ||
seek(pos:Number):void
Sets the mp3 playhead position in milliseconds
| MP3 | ||
stop():void
Pauses playback and returns to the beginning
| MP3 | ||
updateProperties(state:Number = 0):void
this method updates the properties
| ElementFactory |