Does anyone have any ideas about how to handle HTTP or connectivity errors gracefully when using Sound.loadSound()? I'm using the onLoad event, with a function like so:

mysound = new Sound(this);
mysound.onLoad = function(success:Boolean) {
   if (!success) {
getURL("javascript:alert('Failed to load the file selected. The file may no longer exist, or the connection failed.');");
   }
};

However, I still encounter cases where the sound simply won't play, and I don't get the alert message either.

Thanks,
Jeff
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to