Game Development Reference
In-Depth Information
if( soundArray.length )
{
return TweenGroup.allTo( soundArray,
_duration, _vars, TweenLite );
}
else
{
return null;
}
}
public static function from( _sound:String, _duration:
Number, _vars:Object ):TweenLite
{
var soundObj:SoundEngineObject = SoundEngine.
getInstance().soundList[ _sound ];
if( soundObj )
{
return TweenLite.from( soundObj, _duration,
_vars );
}
else
{
return null;
}
}
public static function to( _sound:String, _duration:Number,
_vars:Object ):TweenLite
{
var soundObj:SoundEngineObject = SoundEngine.
getInstance().soundList[ _sound ];
if( soundObj )
{
return TweenLite.to( soundObj, _duration,
_vars );
}
else
{
return null;
}
}
public static function killAllTweens( _complete:Boolean =
false ):void
{
var soundList:Object = SoundEngine.getInstance().
soundList;
Search Nedrilad ::




Custom Search