Thanks Bob.  It seems the original solution I had is the way to go.  First, no 
NetStream instance for me with the FLVplayback component.  Also, thinking it 
out, listening for an error doesn't work, because it's asynchronous anyway, so 
I have to listen for the state change event.

Thanks, 
- MM

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Bob Wohl
Sent: Wednesday, May 27, 2009 11:46 AM
To: Flash Coders List
Subject: Re: [Flashcoders] catch broken paths to flv files

Hi Michael,

It would be:
NetStream.Play.FileStructureInvalid

So you'd create a listener for it Net status events. Also, connecting
to it would throw an 'Error opening URL *url*' message.


B.

On Wed, May 27, 2009 at 7:11 AM, Mendelsohn, Michael
<[email protected]> wrote:
> Hi list...
>
> I'm tyring to catch broken paths to flv files.  How do you catch 
> VideoError.INVALID_SOURCE when using the FLVplayback component?  I can't seem 
> to figure out how/where to use it.  It seems that's the logical approach, but 
> instead, I currently have this solution, which works, but doesn't seem right:
>
> private function onStateChange(e:VideoEvent):void{
>        if(e.state==VideoState.CONNECTION_ERROR){
>        }
> }

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

Reply via email to