Re: [{SPAM?}] - [Flashcoders] Stop loading sounds - Email found in subject

2007-02-28 Thread Ben Cline
To: Flashcoders mailing list Subject: [{SPAM?}] - [Flashcoders] Stop loading sounds - Email found in subject i have a Sound object called mySound i set it to load an mp3 and set is streaming to true as follow: mySound.load(file.mp3, true); so it plays and buffers the mp3 untill the load

Re: [{SPAM?}] - [Flashcoders] Stop loading sounds - Email found in subject

2007-02-28 Thread Omar Fouad
the loading of the mp3. thanks cole peterson -Original Message- From: [EMAIL PROTECTED] on behalf of Omar Fouad Sent: Sun 2/25/2007 11:52 AM To: Flashcoders mailing list Subject: [{SPAM?}] - [Flashcoders] Stop loading sounds - Email found in subject i have

Re: [{SPAM?}] - [Flashcoders] Stop loading sounds - Email found in subject

2007-02-27 Thread Omar Fouad
); then ... mySound.load(); will stop the loading of the mp3. thanks cole peterson -Original Message- From: [EMAIL PROTECTED] on behalf of Omar Fouad Sent: Sun 2/25/2007 11:52 AM To: Flashcoders mailing list Subject: [{SPAM?}] - [Flashcoders] Stop loading sounds - Email found in subject i have

[Flashcoders] Stop loading sounds

2007-02-25 Thread Omar Fouad
i have a Sound object called mySound i set it to load an mp3 and set is streaming to true as follow: mySound.load(file.mp3, true); so it plays and buffers the mp3 untill the load is complete. Actually i need my stop button to stop the song and to stop it buffering!!! as in buffering will let

RE: [{SPAM?}] - [Flashcoders] Stop loading sounds - Email found in subject

2007-02-25 Thread Cole Peterson
mySound.load(file.mp3, true); then ... mySound.load(); will stop the loading of the mp3. thanks cole peterson -Original Message- From: [EMAIL PROTECTED] on behalf of Omar Fouad Sent: Sun 2/25/2007 11:52 AM To: Flashcoders mailing list Subject: [{SPAM?}] - [Flashcoders] Stop loading

[Flashcoders] Stop loading

2006-05-13 Thread Patrick Matte
Whats the best way to stop a sound from loading ? I fired the Sound.loadsound() method but suddenly for a reason, I need to stop the loading right away. Same thing with MovieClipoader. Will the MovieClipLoader.unloadClip method simply stop the downloading of the image ?

Re: [Flashcoders] Stop loading

2006-05-13 Thread Johannes Nel
afaik there is no way to stop the actual load. On 5/13/06, Patrick Matte [EMAIL PROTECTED] wrote: Whats the best way to stop a sound from loading ? I fired the Sound.loadsound() method but suddenly for a reason, I need to stop the loading right away. Same thing with MovieClipoader. Will the

Re: [Flashcoders] Stop loading

2006-05-13 Thread Gerry Creighton
Have you researched the livedocs yet? http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/ common/html/wwhelp.htm?context=Flash_MX_2004file=0364.html#77315 On May 13, 2006, at 3:23 PM, Patrick Matte wrote: Whats the best way to stop a sound from loading ? I fired the

Re: [Flashcoders] Stop loading

2006-05-13 Thread Patrick Matte
It seems the only way to stop a sound from loading is to start loading another sound in the same Sound Object. You can even load a sound that doesn't actually exists on the server, it creates an error but it stops the sound from loading. For MovieClipLoader, the unloadClip method works fine

Re: [Flashcoders] Stop loading

2006-05-13 Thread Gerry Creighton
I just tested this code and it worked as it should. code var s:Sound = new Sound(); s.loadSound(Finish Line.mp3 , true); s.start(999,1); function stopSong(){ s.stop(); clearInterval(myTimer); trace(stopSong called); } myTimer= setInterval(stopSong , 1); /code I of

Re: [Flashcoders] Stop loading

2006-05-13 Thread Patrick Matte
Your code will actually stop the streaming sound from playing, but not from being downloaded from the server. Le 13/05/06 17:14, « Gerry Creighton » [EMAIL PROTECTED] a écrit : I just tested this code and it worked as it should. code var s:Sound = new Sound(); s.loadSound(Finish Line.mp3 ,

Re: [Flashcoders] Stop loading

2006-05-13 Thread Gerry Creighton
True...I didn't cover that. On May 13, 2006, at 6:01 PM, Patrick Matte wrote: Your code will actually stop the streaming sound from playing, but not from being downloaded from the server. Le 13/05/06 17:14, « Gerry Creighton » [EMAIL PROTECTED] a écrit : I just tested this code and

Re: [Flashcoders] Stop loading

2006-05-13 Thread Gerry Creighton
What about using the following code... s.loadSound(,true); code var s:Sound = new Sound(); s.loadSound(Finish Line.mp3 , true); s.start(999,1); function stopSong(){ //s.stop(); s.loadSound(,true); clearInterval(myTimer); trace(stopSong called); } myTimer=

Re: [Flashcoders] Stop loading

2006-05-13 Thread Patrick Matte
: Re: [Flashcoders] Stop loading What about using the following code... s.loadSound(,true); code var s:Sound = new Sound(); s.loadSound(Finish Line.mp3 , true); s.start(999,1); function stopSong(){ //s.stop(); s.loadSound(,true); clearInterval(myTimer); trace(stopSong called); } myTimer

Re: [Flashcoders] Stop loading

2006-05-13 Thread Marc Hoffman
list flashcoders@chattyfig.figleaf.com Sent: Saturday, May 13, 2006 6:21 PM Subject: Re: [Flashcoders] Stop loading What about using the following code... s.loadSound(,true); code var s:Sound = new Sound(); s.loadSound(Finish Line.mp3 , true); s.start(999,1); function stopSong(){ //s.stop

RE: [Flashcoders] Stop loading

2006-05-13 Thread Ash Warren
it delete this.audio; /code -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Hoffman Sent: Saturday, May 13, 2006 10:47 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Stop loading How do you know the sound is no longer loading

Re: [Flashcoders] Stop loading

2006-05-13 Thread Patrick Matte
mailing list flashcoders@chattyfig.figleaf.com Sent: Saturday, May 13, 2006 6:21 PM Subject: Re: [Flashcoders] Stop loading What about using the following code... s.loadSound(,true); code var s:Sound = new Sound(); s.loadSound(Finish Line.mp3 , true); s.start(999,1); function stopSong(){ //s.stop

Re: [Flashcoders] Stop loading

2006-05-13 Thread Patrick Matte
: RE: [Flashcoders] Stop loading I thought that I read someplace that this method worked (Where 'audio' is a created sound object): code this.audio.stop (); // delete this.audio.onSoundComplete; // this.audio = null; // The only way to stop a sound from downloading is to delete it delete

Re: [Flashcoders] Stop loading

2006-05-13 Thread Marc Hoffman
] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Saturday, May 13, 2006 11:46 PM Subject: Re: [Flashcoders] Stop loading How do you know the sound is no longer loading? At 07:32 PM 5/13/2006, you wrote: Yes thats exactly what i found, loading another sound is the only way to stop

Re: [Flashcoders] Stop loading

2006-05-13 Thread Patrick Matte
, 2006 12:50 AM Subject: Re: [Flashcoders] Stop loading Well, Sound.getBytesLoaded() wouldn't show if a sound was continuing to load into cache after starting to load a new (or even missing) sound file into the same sound object. It would just show loading for the new sound. But I just ran