Re: [Flashcoders] Runtime error

2006-05-17 Thread Ejoe Latrik
Is it shoutcast stream or icecast stream? Flash plugin don't work with shoutcast. Ejoe Asai a écrit : Right, I don't know if this is the best advice by any means, but when a situation like that happens in the IDE and if it doesn't run in certain copies of IE, you may want to reconsider using

Re: [Flashcoders] Runtime error

2006-05-17 Thread Ejoe Latrik
the code below works on my computer (xp sp1 - centrino 1.6Ghz - 512Mo RAM - Flash MX 2004 IDE ) radio = new Sound(); radio.setVolume(100); radio.loadSound(http://216.235.91.30:80,true); Maybe it's a probleme with the onEnterFrame function(infinite loop or something?) Ejoe Asai a écrit :

[Flashcoders] Runtime error

2006-05-16 Thread Jonathan Berry
Hello all, I googled this, but could not find anything that would be of help. I am trying to fix this MP3 player that I put up here recently, but now I am getting a runtime error: The application has requested the runtime to terminate in an unusual way. What in the world is this? If you need me

Re: [Flashcoders] Runtime error

2006-05-16 Thread Asai
Nothing I've heard of, but that's not saying much. Why don't you post the code? At 09:10 AM 5/16/2006, you wrote: Hello all, I googled this, but could not find anything that would be of help. I am trying to fix this MP3 player that I put up here recently, but now I am getting a runtime error:

Re: [Flashcoders] Runtime error

2006-05-16 Thread Jonathan Berry
Thanks, Asai. We just tried to test in another copy of Flash and still got that crash. Here's my code. Something may have changed that we can't see: System.security.allowDomain(http://216.235.91.30;); //System.security.allowDomain(http://www.live365.com/;); var up:Boolean = false; var

Re: [Flashcoders] Runtime error

2006-05-16 Thread Asai
It seems the problem is that where you're using this code: radio.loadSound(http://216.235.91.30:80,true); is what is crashing it. You've got to be more specific about what it is you're wanting to load, like http://216.235.91.30:80/yourSound.mp3 Flash can't load an entire IP. ;-) At 09:22

Re: [Flashcoders] Runtime error

2006-05-16 Thread Jonathan Berry
We were told by Live365 that that is the best IP to use and that it resolves to a single stream. The exported movie plays in Firefox, but the problem of testing the movie in the IDE still happens and it doesn't play in all the copies of IE we are running. The commented out code you can see shows

Re: [Flashcoders] Runtime error

2006-05-16 Thread Asai
Right, I don't know if this is the best advice by any means, but when a situation like that happens in the IDE and if it doesn't run in certain copies of IE, you may want to reconsider using that particular IP. It may be less of a headache in the short term and in the long run. I tested it