-
Convet As2 to As3
function sina(xml){
if(xml){
ex = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
ex2= this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
ex3= this.firstChild.childNodes[0].childNodes[2].firstChild.nodeValue;
ex4= this.firstChild.childNodes[0].childNodes[3].firstChild.nodeValue;
names.text= ex;
family.text= ex2;
city.text= ex3;
year.text= ex4;
erorr.text="flash";
}
else
erorr.text="adob";
}
-
here's a link that might help your XML troubles...it's basic, but it'll do.
http://www.jasonljohnson.com/AS2_to_AS3/
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
|