Packagecom.bourre.media.sound
Classpublic class SoundEvent
InheritanceSoundEvent Inheritance BasicEvent Inheritance flash.events.Event

Player version: Flash Player 9.0
Language version: ActionScript 3.0

The SoundEvent class represents the event object passed to the event listener for BeanFactory events.



Public Properties
 PropertyDefined by
 Inheritedtarget : Object
The source object of this event
BasicEvent
 Inheritedtype : String
The type of this event
BasicEvent
Protected Properties
 PropertyDefined by
 Inherited_oTarget : Object
The source object of this event, redefined to provide write access
BasicEvent
 Inherited_sType : String
The type of the event, redefined to provide write access
BasicEvent
Public Methods
 MethodDefined by
  
SoundEvent(type:String, sound:SoundInfo, soundInfoChannel:SoundInfoChannel)
Creates a new SoundEvent object.
SoundEvent
 Inherited
clone():Event
Clone the event
BasicEvent
  
Returns the SoundInfo object carried by this event.
SoundEvent
  
Returns the SoundInfoChannel object carried by this event.
SoundEvent
 Inherited
getTarget():Object
Returns the current source of this event object.
BasicEvent
 Inherited
getType():String
Returns the type of this event, which generally correspond to the name of the called function on the listener.
BasicEvent
 Inherited
setTarget(oTarget:Object):void
Defines the new source object of this event.
BasicEvent
 Inherited
setType(en:String):void
Defines the new event type for this event object.
BasicEvent
 Inherited
toString():String
Returns the string representation of this instance.
BasicEvent
Public Constants
 ConstantDefined by
  onSoundEnd : String = "onSoundEnd"
[static]
SoundEvent
  onSoundLoop : String = "onSoundLoop"
[static]
SoundEvent
  onSoundPause : String = "onSoundPause"
[static]
SoundEvent
  onSoundPlay : String = "onSoundPlay"
[static]
SoundEvent
  onSoundProgress : String = "onSoundProgress"
[static]
SoundEvent
  onSoundResume : String = "onSoundResume"
[static]
SoundEvent
  onSoundStop : String = "onSoundStop"
[static]
SoundEvent
Constructor detail
SoundEvent()constructor
public function SoundEvent(type:String, sound:SoundInfo, soundInfoChannel:SoundInfoChannel)

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Creates a new SoundEvent object.

Parameters
type:String — Name of the event type
 
sound:SoundInfo — SoundInfo object carried by this event
 
soundInfoChannel:SoundInfoChannel — SoundInfoChannel object carried by this event
Method detail
getSoundInfo()method
public function getSoundInfo():SoundInfo

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns the SoundInfo object carried by this event.

Returns
SoundInfo — The SoundInfo value carried by this event.
getSoundInfoChannel()method 
public function getSoundInfoChannel():SoundInfoChannel

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns the SoundInfoChannel object carried by this event.

Returns
SoundInfoChannel — The SoundInfoChannel value carried by this event.
Constant detail
onSoundEndconstant
public static const onSoundEnd:String = "onSoundEnd"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

onSoundLoopconstant 
public static const onSoundLoop:String = "onSoundLoop"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

onSoundPauseconstant 
public static const onSoundPause:String = "onSoundPause"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

onSoundPlayconstant 
public static const onSoundPlay:String = "onSoundPlay"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

onSoundProgressconstant 
public static const onSoundProgress:String = "onSoundProgress"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

onSoundResumeconstant 
public static const onSoundResume:String = "onSoundResume"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

onSoundStopconstant 
public static const onSoundStop:String = "onSoundStop"

Player version: Flash Player 9.0
Language version: ActionScript 3.0