Re: [Flashcoders] onLoop event for sound

2005-11-17 Thread Alain Rousseau
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

RE: [Flashcoders] onLoop event for sound

2005-11-17 Thread Tobias Fendel [Die ActionScripter]
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&#

Re: [Flashcoders] onLoop event for sound

2005-11-17 Thread Mark Walters
ound("__bass_lib") > mySoundLoop.start(0,3); > > mySoundLoop.onLoopComplete = function () > { > trace("loopcomplete") > } > > mySoundLoop.onAllLoopsComplete = function () > { > trace("allloopscomplete") > } > > > HTH &

RE: [Flashcoders] onLoop event for sound

2005-11-17 Thread Chris Wilcox
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

RE: [Flashcoders] onLoop event for sound

2005-11-17 Thread Tobias Fendel [Die ActionScripter]
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

Re: [Flashcoders] onLoop event for sound

2005-11-17 Thread Alain Rousseau
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

[Flashcoders] onLoop event for sound

2005-11-17 Thread Mark Walters
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