# Quick 2 line AS check

**URL:** <https://forum.kirupa.com/t/quick-2-line-as-check/244145>\
**Category:** Uncategorized\
**Created:** [November 14, 2007, 5:36pm UTC](https://forum.kirupa.com/t/quick-2-line-as-check/244145 "2007-11-14T17:36:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![woodman650](https://avatars.discourse-cdn.com/v4/letter/w/b9bd4f/32.png) [@woodman650](https://forum.kirupa.com/u/woodman650)\
**Post date:** [November 14, 2007, 5:36pm UTC](https://forum.kirupa.com/t/quick-2-line-as-check/244145/1 "2007-11-14T17:36:25Z")

</div>

I’m trying to load an image found in a xml file into a movieclip but am not having much luck… I get this error (I changed the path to shorten):

Error opening URL ‘file:///Cpathonmycomputer/myflashproject/undefined’

the code I’m using looks like:

```auto
 
var _imgme =_xml.firstChild.childNodes[_currSong].childNodes[3].firstChild.nodeValue;
imgholder.loadMovie(_imgme[_currSong], 1);

```

imgholder is the MC on the stage, \_currSong is the current xml child being read. Is there something obvious I’m missing here? thanks in advance
