# How can I write that line properly?

**URL:** https://forum.kirupa.com/t/how-can-i-write-that-line-properly/331869
**Category:** flash
**Created:** [November 12, 2013, 8:55pm UTC](https://forum.kirupa.com/t/how-can-i-write-that-line-properly/331869 "2013-11-12T20:55:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kunst](https://avatars.discourse-cdn.com/v4/letter/k/3bc359/32.png) [@kunst](https://forum.kirupa.com/u/kunst)
#### Post date: [November 12, 2013, 8:55pm UTC](https://forum.kirupa.com/t/how-can-i-write-that-line-properly/331869/1 "2013-11-12T20:55:17Z")

</div>

Hi, please help me with the following:

## Flash8, AS2

This code line works:  
\_root.movietag = movie.load(“[http://www.mymoviesite/movies/moviecode.xml](http://www.mymoviesite/movies/moviecode.xml)”);

Now, Id like to grab that URL code ([http://www.mymoviesite/movies/](http://www.mymoviesite/movies/)) from the moviecode.xml file - which resides on my server, and is listed in my actionscript 2, under: movietag[4].firstChild.nodeValue - and then put it in front of the digicode.xml (see code above, which works).

This is what I tried in as2, but doesnt work, Im afraid, bad syntax:

\_root.movietag = movie.load(“movietag[4].firstChild.nodeValue/”+“moviecode.xml”);

- It should imitate, so to speak:  
\_root.movietag = movie.load(“[http://www.mymoviesite/movies/moviecode.xml](http://www.mymoviesite/movies/moviecode.xml)”);

Please help me, thanks guys!!!
