# NaN output when loading external SWF

**URL:** <https://forum.kirupa.com/t/nan-output-when-loading-external-swf/262389>\
**Category:** flash\
**Created:** [June 5, 2008, 3:50pm UTC](https://forum.kirupa.com/t/nan-output-when-loading-external-swf/262389 "2008-06-05T15:50:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![newbie\_359](https://avatars.discourse-cdn.com/v4/letter/n/ac91a4/32.png) [@newbie\_359](https://forum.kirupa.com/u/newbie_359)\
**Post date:** [June 5, 2008, 3:50pm UTC](https://forum.kirupa.com/t/nan-output-when-loading-external-swf/262389/1 "2008-06-05T15:50:50Z")

</div>

I am realatively new to Flash and just getting my feet wet, trying to do a project for school…just about done…then this happens…PLEASE HELP

I am trying to load external swf’s into my movie. Now, this is where it gets confusing…

Some of the external SWF files are just an image, they load fine, no errors. However, when I appempt to load teh movies which are image galleries, I get nothing, I press the Prev or Next buttons then I receive the NaN errors.

When the image galleries are played on their own, they work perfectly…it is just when I try to use the gallery inside the main movie is when NaN comes up…

Any suggestions???

---

<div class="post-metadata">

**Author:** ![newbie\_359](https://avatars.discourse-cdn.com/v4/letter/n/ac91a4/32.png) [@newbie\_359](https://forum.kirupa.com/u/newbie_359)\
**Post date:** [June 5, 2008, 5:21pm UTC](https://forum.kirupa.com/t/nan-output-when-loading-external-swf/262389/2 "2008-06-05T17:21:00Z")

</div>

These are the two things I am trying to use together…NOT a programmer to be…just want to make a neat presentation…used TWO tut’s from Kirupa they are the following:

[http://www.kirupa.com/developer/mx/full\_site.htm](http://www.kirupa.com/developer/mx/full_site.htm) - main page

[http://www.kirupa.com/developer/mx/photogallery.htm](http://www.kirupa.com/developer/mx/photogallery.htm) - photo gallery

Please any help would be most appreciated, thank you.
