OK… well i want to play a sound 5 times but not by using
my_sound.start(0,4);
but by making it play until a variable =5;
function my_start(k:Number) {
i=1;
while (i<=k) {
my_sound.start();
while (my_sound.position==my_sound.duration) {
//wait until the sounds stops playing
}
i++;
}
}
the problem is… plays the sound twice if k is greater than or equal to 2…if k is 5 it plays 2 times… the first time is normal and the second time plays 4 times at once…why??
PS: I do not want to use Interval(…) as well…