# Xml - flash (urgent help needed)

**URL:** https://forum.kirupa.com/t/xml-flash-urgent-help-needed/270800
**Category:** Uncategorized
**Created:** [September 14, 2008, 3:11pm UTC](https://forum.kirupa.com/t/xml-flash-urgent-help-needed/270800 "2008-09-14T15:11:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![utsav](https://avatars.discourse-cdn.com/v4/letter/u/e19b73/32.png) [@utsav](https://forum.kirupa.com/u/utsav)
#### Post date: [September 14, 2008, 3:11pm UTC](https://forum.kirupa.com/t/xml-flash-urgent-help-needed/270800/1 "2008-09-14T15:11:48Z")

</div>

well i want to make a image scroller from the images i get from an xml file.after i get all the file names , i want the images to be in a movie clip . so that i can use sroller properties to it. but i am not being able to display the images in the movie clip. how do i display all images in flash?  
Here is my code.

```auto
function menuChoiceOne() 
{
	getURL("http://www.rathour.com.np"); 
}
 

NewMenu = new ContextMenu(); 

NewMenu.hideBuiltInItems(); 

NewMenu.customItems.push(new ContextMenuItem("This photo gallery is copyrighted!", menuChoiceOne)); 

this.menu = NewMenu; 
/*
pic1bg._alpha = 100;
pic2bg._alpha = 0;
pic3bg._alpha = 0;
pic4bg._alpha = 0;
pic5bg._alpha = 0;
pic6bg._alpha = 0;
pic7bg._alpha = 0;
pic8bg._alpha = 0;
pic9bg._alpha = 0;
pic10bg._alpha = 0;*/

function loadXML(loaded)
{
	if (loaded) {
		xmlNode = this.firstChild;
		image = [];
		total = xmlNode.childNodes.length;
		for (i=0; i<total; i++) {
			image* = xmlNode.childNodes*.childNodes[0].firstChild.nodeValue;
		}
		firstImage();
	} else {
		content.text = "file not loaded!";
	}
}
xmlAlbum = new XML();
xmlAlbum.ignoreWhite = true;
xmlAlbum.onLoad = loadXML;
xmlAlbum.load("album.xml");

p=0;

function nextImage() {
	//previousbtn._x = 30;
	if (p<(total-1)) {
		p++;
		photo_mc.loadPhoto(image[p]);
		content.text = description[p];	
		picture_num();
		//if (panel.testing1._x >= 1085) { 
	} else {
		//panel.testing1._x = panel.testing1._x + 115;
	}
	}

```

this is very urgent… Please help…
