GameSound Class

Class org.rapo.games.GameSound

Inheritance > GameSound

Extends the built-in Sound class to add properties that are required by the AudioController
Constructor Summary
  
 GameSound(clip:MovieClip, audio_controller:AudioController, id:String, url:String, is_streaming:Boolean, play_when_loaded:Boolean)
Calls the built-in Sound class's constructor, and then intitializes game-related properties used by the AudioController
Property Summary
 AudioController 
 AC
A reference to the GameSound's AudioController
 Boolean 
Indicates whether or not the GameSound instance should be streamed
 Boolean 
Indicates whether or not the GameSound instance should be played immediately when loaded
 MovieClip 
The MovieClip (timeline) on which the GameSound instance is created
 String 
The GameSound's unique ID used by the AudioController
 String 
The GameSound's URL if it is loaded dynamically
Constructor Detail
GameSound
public function GameSound(clip:MovieClip, audio_controller:AudioController, id:String, url:String, is_streaming:Boolean, play_when_loaded:Boolean)
Calls the built-in Sound class's constructor, and then intitializes game-related properties used by the AudioController
Parameters:
Property Detail
AC
var AC:AudioController;
A reference to the GameSound's AudioController
isStreaming
var isStreaming:Boolean;
Indicates whether or not the GameSound instance should be streamed
playWhenLoaded
var playWhenLoaded:Boolean;
Indicates whether or not the GameSound instance should be played immediately when loaded
soundClip
var soundClip:MovieClip;
The MovieClip (timeline) on which the GameSound instance is created
soundID
var soundID:String;
The GameSound's unique ID used by the AudioController
soundURL
var soundURL:String;
The GameSound's URL if it is loaded dynamically



Documentation generated by BLDoc Community Edition from B-Line Express.