# Movie clip name from xml

**URL:** <https://forum.kirupa.com/t/movie-clip-name-from-xml/250720>\
**Category:** Uncategorized\
**Created:** [January 31, 2008, 9:49pm UTC](https://forum.kirupa.com/t/movie-clip-name-from-xml/250720 "2008-01-31T21:49:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![simplesoul](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@simplesoul](https://forum.kirupa.com/u/simplesoul)\
**Post date:** [January 31, 2008, 9:49pm UTC](https://forum.kirupa.com/t/movie-clip-name-from-xml/250720/1 "2008-01-31T21:49:31Z")

</div>

Hi

I’m trying to pass a movie clip name from xml to an array, but everything I’ve tried gives me a Type Coercion failed: error.

my xml format is (although I’m not restricted to this):

```auto
<movie_clip_name>mc_0</movie_clip_name>

```

I want to pass this into an array. I’ve tried directly (that works with other values) or via a variable:

```auto
myArray[0] = [myXML.clips[0].movie_clip_name, myXML.clips[0].movie_clip_start, myXML.clips[0].movie_clip_end];

```

Any help greatly appreciated.
