# XML undefined error

**URL:** <https://forum.kirupa.com/t/xml-undefined-error/280995>\
**Category:** flash\
**Created:** [February 3, 2009, 7:44pm UTC](https://forum.kirupa.com/t/xml-undefined-error/280995 "2009-02-03T19:44:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![slunt32](https://avatars.discourse-cdn.com/v4/letter/s/9f8e36/32.png) [@slunt32](https://forum.kirupa.com/u/slunt32)\
**Post date:** [February 3, 2009, 7:44pm UTC](https://forum.kirupa.com/t/xml-undefined-error/280995/1 "2009-02-03T19:44:56Z")

</div>

Hi, im currently getting an error with from the output box sayin

Error opening URL: C:/Documents and Setting/blah/blah/blah/ **undefined**

this is the xml code

```auto

<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<slideshow>
        <image url="C:\Documents and Settings\Si\Desktop\colour_images\Copynumbers.jpg" caption = "Colour the picture" />

        <image url="C:\Documents and Settings\Si\Desktop\colour_images\Dottodot2.jpg" caption = "Colour the picture" />

    <image url="C:\Documents and Settings\Si\Desktop\colour_images\Paintbynumbers1.jpg" caption = "Colour the picture" />

    <image url="C:\Documents and Settings\Si\Desktop\colour_images\Paintbynumbers2.jpg" caption = "Colour the picture" />

    <image url="C:\Documents and Settings\Si\Desktop\colour_images\Paintbynumbers3.jpg" caption = "Colour the picture" />

    <image url="C:\Documents and Settings\Si\Desktop\colour_images\Paintbynumbers4.jpg" caption = "Colour the picture" />

    <image url="C:\Documents and Settings\Si\Desktop\colour_images\Patterncopy.jpg" caption = "Colour the picture" />

</slideshow>

```

and here is the actionscript 2.0 code:

```auto

var myxml:XML = new XML();
myxml.ignoreWhite = true();

var urls:Array = new Array();
var captions:Array = new Array();
var whoIsOn:Number;

myxml.onLoad = function(){
    var images:Array = this.firstChild.childNodes;
    for(i=0;i<images.length;i++){
        urls.push(image*.attributes.url);
        captions.push(image*.attributes.caption);
        

        }
    holder.loadMovie(urls[0]);
    caption.text = captions[0];
    whoIsOn = 0;
}
myxml.load("images2.xml");

```

I can’t seem to find anything wrong, all the files are in the right place and named correctly as far as im aware or can see!  
ill be made up if someone can help me!  
Thanks!
