S > Sound.start

Sound.start

Syntax

mySound.start();
mySound.start([secondOffset, loop]);

secondOffset An optional argument allowing you to start the sound playing at a specific point. For example, if you have a 30-second sound and want the sound to start playing in the middle, specify 15 for the secondOffset argument. The sound is not delayed 15 seconds, but rather starts playing at the 15-second mark.

loop An optional argument allowing you to specify the number of times the sound should loop.

Description

Method; starts playing the last attached sound from the beginning if no argument is specified, or starting at the point in the sound specified by the secondOffset argument.

Player

Flash 5 or later.

See also

Sound.setPan
Sound.stop