Hi
Is it possible to cast the loaded xml file to as3 ??
For example:
myClass.xml
<myClass>
<id>1</id>
<name>pliii</name>
<target>ploo</target>
</myClass>
and the myClass.as
package com.myDomain.vo {
public class myClass {
public var id:int;
public var name:String;
public var target:String;
}
}
and the usage:
public function onSuccessXmlLoad(event:):void {
var t:myClass = event.target.data as myClass;
}
…well you get the point…is this possible?