alert This appears to be a flash file, you cannot see a preview because flash player is no longer supoorted in browsers, but you can still download the file to study it's source code.
You can open/play the swf file with Flash Player exe
user mukeshmehra
mukeshmehra (1)

Loading data into datagrid using xml

fetching data from xml and loading a datagrid and a combobox
1366 downloads, 21133 views

combo box datagrid xml


Download (829.37 KB)

Comments

You need to login to post a comment.

user mukeshmehra
the listing author mukeshmehra 13 years ago

Hey chahoub4 you can use the trace command to see if you are not accessing the null object or getting the null values. Working with xml is quite a tedious task in AS2, you got to find the proper parent child relation ok best of luck.

user chahoub4
chahoub4 13 years ago

hello Sir : iwant ask yoou if you have solution, ive just start flash and i want import xml file to a swf file i creat php that update every time the xml.

now when php update the xml file always creat 1st this

<?xml version="1.0"?>
then

<news>
<news1>txttxttxttxt</news1>
</news>

and as dont know the arborecence

i used like as2:

xmlNews = new XML();
xmlNews.onLoad = affichageNews;
xmlNews.load("xml/news1.xml");
function affichageNews() {
txt = xmlNews.firstChild.childNodes[0].nodeVal ue();
}

but write me indefinded can you help me?????? thank you

user Marto
Marto 14 years ago

How I wish this was in 2.0 :(

user cate
cate 14 years ago

Good Work !

user caiovj
caiovj 14 years ago

Whoa! thanks mukesh!
best regards!

user mukeshmehra
the listing author mukeshmehra 14 years ago

Hi thanks for your encouragement. Soon I will try to make one in As2 also. Thanks again..

user geot007
geot007 14 years ago

thanks mukesh.

user caiovj
caiovj 14 years ago

great! populate a datagrid with xml data, maybe can use like a menu..well done! do you have this one in action script 2.0 too?
congratulations!

user safaal
safaal 14 years ago

thanks for works

user mukeshmehra
the listing author mukeshmehra 14 years ago

hi please give me ur suggestions also.