# Checking if a path to FLV is valid

**URL:** https://forum.kirupa.com/t/checking-if-a-path-to-flv-is-valid/270643
**Category:** flash
**Created:** [September 11, 2008, 9:19pm UTC](https://forum.kirupa.com/t/checking-if-a-path-to-flv-is-valid/270643 "2008-09-11T21:19:16Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![quackor](https://avatars.discourse-cdn.com/v4/letter/q/ac91a4/32.png) [@quackor](https://forum.kirupa.com/u/quackor)
#### Post date: [September 11, 2008, 9:19pm UTC](https://forum.kirupa.com/t/checking-if-a-path-to-flv-is-valid/270643/1 "2008-09-11T21:19:16Z")

</div>

I can’t seem to figure out a way to check if a filepath supplied to a FLVPlayer component is valid or not - as in the player will fail, but I don’t know how to ACT on it. I tried various try-catch and I tried listening for stuff - nothing seems to work. This is AS2 I’m concerned with.

Any help or hints greatly appreciated.
