Packagecom.gestureworks.cml.element
Classpublic class MP3Element
InheritanceMP3Element Inheritance MP3 Inheritance ElementFactory Inheritance flash.display.Sprite
Deprecated: Please Use com.gestureworks.cml.element.MP3

Deprecated: Please Use com.gestureworks.cml.element.MP3

See also

com.gestureworks.cml.element.MP3


Public Properties
 PropertyDefined By
 Inheritedalpha : Number
[override] [write-only] sets the alpha for display objects
ElementFactory
 InheritedautoLoad : Boolean
Deprecated: Please Use preload
MP3
 Inheritedautoplay : Boolean
Indicates whether the mp3 file plays upon load
MP3
 InheritedbackgroundAlpha : Number
Sets the background alpha
MP3
 InheritedbackgroundColor : uint
Sets the background color
MP3
 Inheritedblur : Boolean
Sets the drop shadow effect
ElementFactory
 Inheritedbottom : Number
sets the bottom value
ElementFactory
 Inheritedclass_ : String
Object's css class;
ElementFactory
 InheritedclassName : String
sets the class name of displayobject
ElementFactory
 InheritedcmlIndex : int
sets the cml index
ElementFactory
 InheriteddebugStyle : *
sets the debug style
ElementFactory
 Inheriteddisplay : String
Visualization display type, can be set to "waveform", "none", or an image URL.
MP3
 InheriteddisplayEvents : String
Use for dispatch completes.
ElementFactory
 InheriteddropShadow : Boolean
Sets the drop shadow effect
ElementFactory
 Inheritedduration : Number
[read-only] Total duration
MP3
 Inheritedheight : Number
[override] Sets width of the display object in pixels
ElementFactory
 InheritedheightPercent : String
sets the height percent of display object
ElementFactory
 InheritedhorizontalCenter : Number
sets the horizontal center of display object
ElementFactory
 Inheritedid : String
sets the id of child
ElementFactory
 Inheritedid3 : ID3Info
[read-only] ID3 info object
MP3
 Inheritedid3Album : String
[read-only] ID3 album
MP3
 Inheritedid3Author : String
[read-only] ID3 author
MP3
 Inheritedid3Comment : String
[read-only] ID3 Comment
MP3
 Inheritedid3Copyright : String
[read-only] ID3 Copyright
MP3
 Inheritedid3Title : String
[read-only] ID3 title
MP3
 Inheritedid3Year : String
[read-only] ID3 Year
MP3
 Inheritedindex : int
sets the index of display object
ElementFactory
 InheritedisPlaying : Boolean
[read-only] Sets video playing status
MP3
 Inheritedleft : Number
sets left value
ElementFactory
 Inheritedloop : Boolean
Specifies wether the mp3 file will to loop to the beginning and continue playing upon completion
MP3
 Inheritedpan : Number
Sets the audio pannning ( -1 = left, 0 = center, 1 = right )
MP3
 InheritedpercentLoaded : Number
[read-only] Percent of file loaded
MP3
 Inheritedposition : Number
[read-only] Playhead position in ms
MP3
 Inheritedpreload : Boolean
Indicates whether the mp3 file is preloaded by the cml parser
MP3
 InheritedpropertyStates : Array
Deprecated: Please Use state
ElementFactory
 Inheritedright : Number
sets the right value
ElementFactory
 Inheritedscale : Number
Sets both the x and y scale values
ElementFactory
 InheritedscaleX : Number
[override] Sets width of the display object in pixels
ElementFactory
 InheritedscaleY : Number
[override] Sets width of the display object in pixels
ElementFactory
 Inheritedsrc : String
Sets the mp3 file path
MP3
 Inheritedstate : Array
property states array
ElementFactory
 Inheritedtime : String
[read-only]
MP3
 InheritedTIME : String = Time
[static]
MP3
 Inheritedtimer : Timer
MP3
 Inheritedtop : Number
sets top value
ElementFactory
 InheritedverticalCenter : Number
sets the vertical center of display object
ElementFactory
 Inheritedvolume : Number
Sets the volume
MP3
 InheritedwaveColor : uint
Sets the color of the waveform
MP3
 Inheritedwidth : Number
[override] Sets width of the display object in pixels
ElementFactory
 InheritedwidthPercent : String
sets the percent of width of display object
ElementFactory
Public Methods
 MethodDefined By
  
MP3Element
 Inherited
clone():*
Returns clone of self
ElementFactory
 Inherited
close():void
Closes mp3
MP3
 Inherited
[override] CML initialization callback
MP3
 Inherited
dispose():void
[override] Disposal method
MP3
 Inherited
init():void
[override] Initialisation method
MP3
 Inherited
open(file:String):void
Sets the src property from the argument and loads the mp3 file
MP3
 Inherited
parseCML(cml:XMLList):XMLList
parses cml file
ElementFactory
 Inherited
pause():void
Pauses playback
MP3
 Inherited
play():void
Plays from the beginning
MP3
 Inherited
postparseCML(cml:XMLList):void
post parses the cml file
ElementFactory
 Inherited
resume():void
Resumes playback from paused position
MP3
 Inherited
seek(pos:Number):void
Sets the mp3 playhead position in milliseconds
MP3
 Inherited
stop():void
Pauses playback and returns to the beginning
MP3
 Inherited
updateProperties(state:Number = 0):void
this method updates the properties
ElementFactory
Constructor Detail
MP3Element()Constructor
public function MP3Element()