r check.
greetings
tobias
ps: sorry about my bad english :)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Alain Rousseau
Sent: Thursday, November 17, 2005 7:17 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] onLoop event for sound
as
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Chris Wilcox
> Sent: Thursday, November 17, 2005 8:26 PM
> To: 'Flashcoders mailing list'
> Subject: RE: [Flashcoders] onLoop event for sound
>
>
> Isn
ound("__bass_lib")
> mySoundLoop.start(0,3);
>
> mySoundLoop.onLoopComplete = function ()
> {
> trace("loopcomplete")
> }
>
> mySoundLoop.onAllLoopsComplete = function ()
> {
> trace("allloopscomplete")
> }
>
>
> HTH
&
pscomplete")
}
HTH
C
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tobias
Fendel [Die ActionScripter]
Sent: 17 November 2005 18:50
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] onLoop event for sound
hi,
i
ing list
> Subject: Re: [Flashcoders] onLoop event for sound
>
>
> Hi Mark,
>
> you could monitor the position of the sound comparred to it's
> duration,
> that way you know when it arrives at the end of the sound.
>
> if (sound.position == sound.duratio
Hi Mark,
you could monitor the position of the sound comparred to it's duration,
that way you know when it arrives at the end of the sound.
if (sound.position == sound.duration) {
loopCount++;
}
In this case, the loop count will be made at the end of the sound.
HTH
Alain
Mark
Does anyone know of a good way to create an onLoop event that gets
fired everytime a sound loops. I need to keep track of how many loops
are left.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo
7 matches
Mail list logo