Nicolas Cannasse %!s(int64=18) %!d(string=hai) anos
pai
achega
ae8d413a4d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      std/haxe/remoting/AsyncConnection.hx

+ 1 - 1
std/haxe/remoting/AsyncConnection.hx

@@ -55,7 +55,7 @@ class AsyncConnection implements Dynamic<AsyncConnection> {
 
 	public function call( params : Array<Dynamic>, ?onData : Dynamic -> Void ) : Void {
 		#if flash
-		if( __data.connect ) {
+		if( Reflect.hasField(__data,"connect") ) {
 			var me = this;
 			var p = params.copy();
 			#if flash9