# \[FMX\] Does it exist?

**URL:** <https://forum.kirupa.com/t/fmx-does-it-exist/18851>\
**Category:** flash\
**Created:** [April 21, 2003, 11:46pm UTC](https://forum.kirupa.com/t/fmx-does-it-exist/18851 "2003-04-21T23:46:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Psykloak1](https://avatars.discourse-cdn.com/v4/letter/p/7ab992/32.png) [@Psykloak1](https://forum.kirupa.com/u/Psykloak1)\
**Post date:** [April 21, 2003, 11:46pm UTC](https://forum.kirupa.com/t/fmx-does-it-exist/18851/1 "2003-04-21T23:46:30Z")

</div>

Ok, I have a weird question… You all know the “loadMovie” command but is there a way to tell if the movie you want to load really exists?

for example:  
I have a movie on my server names “asdf.swf” and I want to use loadMovie to open it. Well what If I want it to check if it exists before I try to load it?

Also, can you load picture files to a movie? (gif/png)

Anyway, thanks ahead of time.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 21, 2003, 11:49pm UTC](https://forum.kirupa.com/t/fmx-does-it-exist/18851/2 "2003-04-21T23:49:01Z")

</div>

[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=9967&highlight=check+if+file+exists](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=9967&highlight=check+if+file+exists)

Searched and found in 7 seconds.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 21, 2003, 11:50pm UTC](https://forum.kirupa.com/t/fmx-does-it-exist/18851/3 "2003-04-21T23:50:06Z")

</div>

also, like Pom says in that thread, you may have to use PHP to verify if it exists and then load it into flash. if not then display an error message.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 22, 2003, 12:21am UTC](https://forum.kirupa.com/t/fmx-does-it-exist/18851/4 "2003-04-22T00:21:22Z")

</div>

Oh jeez. I’m sorry, I should have thought to look first, I promise I will next time. ^\_^;
