-
linking listbox to frames
ok basicly i have a listbox which gets data striaght from my sql database and i was wondering how i could link each value with in the list box to each frame so that when a item is selected in the list box it goes to a frame like how button uses gotoandplay as such
this is my code which i use to get the data from the database
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("http://localhost/project/php/question.php");
thank you
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|