Flash sound question

  • IceCold
  • Guru
  • Guru
  • User avatar
  • Posts: 1254
  • Loc: Ro

Post 3+ Months Ago

I made a mp3 player in flash, which gets the list of songs from an xml file.
I wonder what happens when you jump to the next song, before the current one is completly preloaded. Tested with simulate download shows that the preload speed decrease with each new mp3 that's incompletly loaded. Does this happen on web too? (didn't tested yet, but i will soon).
If so, is there any method to stop the downloading of the current playing mp3 in order to preload only the the next one? I seen that in actionscript 3 there is close() function which close the stream, but for actionscript 2 there aint such thing.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13503
  • Loc: Florida

Post 3+ Months Ago

Not only does it happen, but it's possible to crash the browser with it if you're not carefull from what I understand.

I haven't bothered to look for a work around, I haven't had any complaints regarding the issue.
I'm waiting for Adobe (I still want to say Macromedia) to fix it.
  • IceCold
  • Guru
  • Guru
  • User avatar
  • Posts: 1254
  • Loc: Ro

Post 3+ Months Ago

This mean i will stop the functionality of Next - Previous buttons until the current mp3 is fully loaded.
  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Posts: 1828
  • Loc: In the Great White North

Post 3+ Months Ago

i've found that its best to just disable controls until a buffer or stream completes. The same problem occurs for video since you can stop the stream but not reliably clear the buffer... Oh well maybe in the next release
  • IceCold
  • Guru
  • Guru
  • User avatar
  • Posts: 1254
  • Loc: Ro

Post 3+ Months Ago

i seen that NetStream has the close() method ... and i suppose it actually close the stream.

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 12 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.