Packagethanhtran.karaokeplayer
Classpublic class KarPlayer
InheritanceKarPlayer Inheritance flash.display.Sprite



Public Properties
 PropertyDefined by
  height : Number
[read-only]
KarPlayer
  ready : Signal
KarPlayer
  songInfo : SongInfo
[read-only]
KarPlayer
  songReady : Boolean
[read-only]
KarPlayer
  width : Number
[read-only]
KarPlayer
Public Methods
 MethodDefined by
  
KarPlayer(options:KarPlayerOptions = null)
KarPlayer
  
loadSong(urlOrSongInfo:Object):void
KarPlayer
  
play():void
Play the audio and lyric without recording
KarPlayer
  
record():void
Play beat audio, lyrics and record at the same time
KarPlayer
Public Constants
 ConstantDefined by
  VERSION : String = "0.0.18"
[static]
KarPlayer
Property detail
heightproperty
height:Number  [read-only]Implementation
    public function get height():Number
readyproperty 
public var ready:Signal
songInfoproperty 
songInfo:SongInfo  [read-only]Implementation
    public function get songInfo():SongInfo
songReadyproperty 
songReady:Boolean  [read-only]Implementation
    public function get songReady():Boolean
widthproperty 
width:Number  [read-only]Implementation
    public function get width():Number
Constructor detail
KarPlayer()constructor
public function KarPlayer(options:KarPlayerOptions = null)Parameters
options:KarPlayerOptions (default = null)
Method detail
loadSong()method
public function loadSong(urlOrSongInfo:Object):voidParameters
urlOrSongInfo:Object
play()method 
public function play():void

Play the audio and lyric without recording

record()method 
public function record():void

Play beat audio, lyrics and record at the same time

Constant detail
VERSIONconstant
public static const VERSION:String = "0.0.18"