# Load xml to flash

**URL:** https://forum.kirupa.com/t/load-xml-to-flash/116880
**Category:** Uncategorized
**Created:** [July 22, 2004, 4:07am UTC](https://forum.kirupa.com/t/load-xml-to-flash/116880 "2004-07-22T04:07:40Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![new\_bird](https://avatars.discourse-cdn.com/v4/letter/n/6bbea6/32.png) [@new\_bird](https://forum.kirupa.com/u/new_bird)
#### Post date: [July 22, 2004, 4:07am UTC](https://forum.kirupa.com/t/load-xml-to-flash/116880/1 "2004-07-22T04:07:40Z")

</div>

i read some, i know to create a xml to hold data,to load,but not understanding the display part, it seem the a lot of ways to display and i find the easy and good way.  
i be loading the whole xml starting the first line  
example here the xml file.

* * *

\<?xml version=“1.0” encoding=“UTF-8”?\>  
\<?xml-stylesheet type=“text/xsl” href=“jcdmenu.xsl”?\>  
\<menu\>  
\<cd\>  
\<pic\>jay\_1.jpg\</pic\>  
\<link\>jay\_link.html \</link\>  
\<title\>Ye Hui Hei\</title\>  
\<artist\>Jay Chou\</artist\>  
\<company\>Jerry.com\</company\>  
\<price\>$18.90\</price\>  
\</cd\>  
\<cd\>  
\<pic\>jolin\_1.jpg\</pic\>  
\<link\>jolin\_link.html \</link\>  
\<title\>72 bian\</title\>  
\<artist\>Jolin Cai\</artist\>  
\<company\>EMI\</company\>  
\<price\>$17.90\</price\>  
\</cd\>  
\<cd\>  
\<pic\>arron.jpg\</pic\>  
\<link\>arron\_link.html \</link\>  
\<title\>Xin Ge\</title\>  
\<artist\>Arron\</artist\>  
\<company\>SONY MUSIC\</company\>  
\<price\>$19.90\</price\>  
\</cd\>  
\</menu\>

* * *

loadText = new XML();  
loadText.load(“cdmenu.xml”);  
//creating the loadVarsText function  
loadText.onLoad = function() {  
//scroller is the dyanamic text  
scroller.text = loadText;  
};

}

is it possible to load the xml file in flash and edit the the xml then save it.  
the 3 above thing, load i can but the edit and save i hav no ideas  
and wat the parseXML function?
