me looking so small in this world

5 2006f September, 2006

basic flash script for loading xml file into a listbox

Filed under: flash — rudyegenias @ 8:11 am

Found this script from creative cow . It loads the xml file from the url to the listbox denoted by the instance theList.

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

theXML.onLoad = function() {
var nodes = this.firstChild.childNodes;
for(i=0;i<nodes.length; i++){
theList.addItem(nodes[i].firstChild.nodeValue, i);
}
}

theXML.load(”url“);

1 Comment »

  1. hi wana be about the flash script how can make a site from xml css and font style all image call form xml transing and masking….

    Comment by rakesh — 16 2008f October, 2008 @ 1:55 am | Reply


RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.