ребята,
странная проблема

Код AS3:
registerClassAlias("VOBattle", VOBattle);
[..]
public function CallAMF(gateway:String) {
responder = new Responder(onResult, onFault);
connection = new NetConnection;
connection.connect(gateway);
}
private function onResult(result:Object):void {
trace(getQualifiedClassName(result)); // com.myGame.objects::VOBattle
var myResult:VOBattle = VOBattle(result);// TypeError: Error #1034: Type Coercion failed: cannot convert com.myGame.objects::VOBattle@5865d01 to com.myGame.objects::VOBattle.
}
как это?
я так и получаю VOBattle