[flexcoders] VideoDisplay inconsistent behavior, it gets Stuck

2007-11-28 Thread Nadeem Manzoor
Hello Guys I am working on a Flex Media application. I am sending Flv path through Javascript. Everythings is working fine. But, suppose, if i send a fake flv url it throgh an Exception connectionerror and after then it gets stuck e.g. after connectionerror if i am trying to pass a proper flv

[flexcoders] VideoDisplay inconsistent behavior, it gets Stuck

2007-11-28 Thread Nadeem Manzoor
Hello Guys I am working on a Flex Media application. I am sending Flv path through Javascript. Everythings is working fine. But, suppose, if i send a fake flv url it throgh an Exception connectionerror and after then it gets stuck e.g. after connectionerror if i am trying to pass a proper flv

Re: [flexcoders] VideoDisplay inconsistent behavior, it gets Stuck

2007-11-28 Thread Michael Wills
First I was going to say you have to put that in a try..catch block, except accessing an invalid URL won't throw the exception in a way the try..catch can work with. Can you add an event listener to your FLV loader similar to this post?

Re: [flexcoders] VideoDisplay inconsistent behavior, it gets Stuck

2007-11-28 Thread Nadeem Manzoor
Thanks for reply. It is really useful to use try catch but in my case it doesn't work, so here is my question Is it possible to check a URL is valid before even loading the file? for example i get an flv path from Web service, before setting this path as a source of Video Display component, i