Esa es la clase con la que tengo duda, en el argumento 'loops' del metodo play(), de la clase sound.
Código ActionScript :
//initial sound volume _theSoundTransform = new SoundTransform(0); _theChannel.soundTransform = _theSoundTransform; //begin play //_theChannel = _theSound.play(); _theChannel = _theSound.play(0, [b]1[/b], _theSoundTransform); _theChannel.addEventListener(Event.SOUND_COMPLETE , onSoundComplete);
Poner 0, ò 1, como parametro 'loops', me reproduce el audio 1 vez, no lo entiendo. Ponerle 2 me lo reproduce 2 veces.