Hi,

mainly, when you stream an SWA file, the preload only preloads the amount
specified by the preloadBuffer (In your case only the first 5 seconds of
your file is preloaded). When you call stop(), the sound is still playing
until the preload buffer is empty. If you call Play() after, Director
preloads 5 seconds (in your case) and then starts to play again.

Hope it helps,

------------------------------------------
    Laurent BRIGAUT
    Integration Nouveaux Media, Inc.    
    http://www.integration.qc.ca   
------------------------------------------    

> -----Original Message-----
> From: Bradshaw, Brian [mailto:[EMAIL PROTECTED]]
> Sent: 28 novembre, 2000 13:51
> To: '[EMAIL PROTECTED]'
> Subject: <lingo-l> SWA audio question
> 
> 
> I have a SWA file that I am streaming from the internet. I 
> have a handler
> that presets the file sets the preloadBuffer to 5 and 
> preloads the SWA file.
> For some reason, this file takes a while to start playing, as 
> though it is
> preloading the buffer again.
> 
> Now when I play the file, I stop it and then call the play command to
> prevent any wierdness. If I stop() a preloaded SWA member, do 
> I unload the
> preloaded sound too?
> 
> Thanks in advance.
> 
> Brian Bradshaw
> Systems Engineer
> McGraw-Hill Education
> McGraw-Hill Companies
> 860-409-2603
> [EMAIL PROTECTED]
> 
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]
> 

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to