I’m not sure how to deal with this case:

private var name:String;

this.name = someXML.@Name;

The above compiles to 

this.name = someXML.attribute('Name’);

In Javascript this.name becomes an XMLList, but in Flash, the XMLList is 
implicitly converted to a string.

Is it possible to make the compiler smarter and make the compiled version look 
like this?

this.name = someXML.attribute('Name’).toString();

Reply via email to