Forum ActionScript 3.0 how do you soundChannel.Play(/*Volume=0*/)

Problems and discussions relating to ActionScript 3.0 here.

how do you soundChannel.Play(/*Volume=0*/)

Postby kuvi » August 16th, 2013, 10:04 pm

Hi guys im trying to make a soundfade and soundincrease function for my game, the sound fade function was easy but the soundincrease is proving difficult because the .play seems to always start a music track at volume 1 (or 100%), but i want it to start at 0 (0%) so i can increase it without hearing that quick PoP of innitial game music 100%. Is there argument i can pass into .play() to have it start at volume 0? or is there a way i can pass in a .play(soundTransform.Volume = 0)?
kuvi
 
Posts: 11
Joined: March 29th, 2011, 12:32 am

Return to ActionScript 3.0