# NaN error

**URL:** <https://forum.kirupa.com/t/nan-error/26283>\
**Category:** flash\
**Created:** [July 21, 2003, 6:16pm UTC](https://forum.kirupa.com/t/nan-error/26283 "2003-07-21T18:16:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vanessa](https://avatars.discourse-cdn.com/v4/letter/v/51bf81/32.png) [@Vanessa](https://forum.kirupa.com/u/Vanessa)\
**Post date:** [July 21, 2003, 6:16pm UTC](https://forum.kirupa.com/t/nan-error/26283/1 "2003-07-21T18:16:13Z")

</div>

hello everyone. i am writing because i have a question that i need answered quickly. i used the search feature and i saw a question exactly like mine, but there was no answer. so sorry for the repeat. anyways, i am using the photogallery script, and i am not sure what is going wrong. the first image displays fine, but when i press back or next, i get a NaN error. i am not sure what this means or how to fix it. someone please help! my presentation is due in 2 days! thank you!

---

<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:** [July 21, 2003, 6:17pm UTC](https://forum.kirupa.com/t/nan-error/26283/2 "2003-07-21T18:17:49Z")

</div>

NaN = not a number  
Can you post the code?

---

<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:** [July 21, 2003, 6:19pm UTC](https://forum.kirupa.com/t/nan-error/26283/3 "2003-07-21T18:19:00Z")

</div>

here is the fla, and since my images are on the web i think youll see exactly what i see.

---

<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:** [July 21, 2003, 6:48pm UTC](https://forum.kirupa.com/t/nan-error/26283/4 "2003-07-21T18:48:50Z")

</div>

I cant see anything wrong… are you sure the path is correct and the image names exist in the directory?

---

<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:** [July 21, 2003, 6:56pm UTC](https://forum.kirupa.com/t/nan-error/26283/5 "2003-07-21T18:56:09Z")

</div>

yeah, i just checked them by typing the full url to the pictures in a browser. i see the pictures just fine. 😕 i made one of these photo galleries a while ago, and everything went okay. i just dont know what i am doing wrong this time. thanks for the replies.

---

<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:** [July 21, 2003, 11:01pm UTC](https://forum.kirupa.com/t/nan-error/26283/6 "2003-07-21T23:01:42Z")

</div>

Also check if the file names are all in the same upper or lowercases. I’m not sure if it’s case sensitive or not, but I remember that was a problem for some people.
