When you instantiate the object sound, are you passing a movieclip that
possibly disappears at some point?
sound:Sound = new Sound(someClipThatGoesAway_mc);

I don't actually know right now if that clip disappeared if the sound would
stop (the link between Sound objects and MovieClips can be a little
counter-intuitive), but it would be one place to look.

-jonathan



On Thu, Apr 10, 2008 at 11:38 AM, Andrew Sinning <[EMAIL PROTECTED]>
wrote:

> I'm using AS2.
>
> In my movie, I have some external mp3 files that will start streaming and
> then just stop playing.  It's as if the streaming suddenly stops, but this
> happens even if I'm playing the sound back locally.  From the documentation,
> if looks like there are just two ways to stop a sound from playing, by
> calling sound.stop() on the specific instance of the sounds, and by calling
> Sound.stop() without reference to a specific sound to stop all sounds.  As
> far as I can tell, there's no place in my code where I am making either type
> of call.
>
> Does the variable pointing to the sound being played need to persist in
> memory for the sound to continue playing?  I'm nearly positive that the
> variable is persistent, but I'm shooting in the dark here.
>
> The sound is loaded using
>
>   sound.loadSound(url, true);
>
> and it starts playing nearly right away.  After a while it stops.
>  Sometimes it plays longer than others.  These sounds are about 25KB/sec.
> and are 10 and 20 seconds long.
>
> Even if the data-stream is interrupted, the sound should start playing
> again once the buffer gets loaded up again, right?
>
> I know there's something in my movie that is causing this, because if I
> make a test movie where I just play the sound it works just fine.  The
> problem is I can't figure out where else to look for the cause of the
> problem.....
>
> Thanks!
>
>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
-jonathan howe :: 404.434.2321 :: 180 High St Apt 26 Portland, ME 04101
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to