[haXe] Error Calling a flex created swf

COLIN LIGHT colin.light at btopenworld.com
Fri Feb 16 17:53:00 CET 2007


Hi List,
   
   
   
  I'm getting an error when calling a method in an actionscript 3 class from haxe.
   
  The error I get is as follows;
   
   
  ---------------
   
  TypeError: Error #1007: Instantiation attempted on a non-constructor.
   at mx.rpc::AbstractService/getOperation()
   at mx.rpc::AbstractService/http://www.adobe.com/2006/actionscript/flash/proxy::callProperty();
   
  ---------------
   
  The haxe call is as follows;
   
  ------------
   
  var cnx = swhx.Connection.flashConnect(flash);
   
  cnx.onThumbGen.call(["Test"]);
   
  ------------
   
  Any ideas or help would be appreciated.
   
   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/haxe/attachments/20070216/6b4f0c6d/attachment.htm


More information about the Haxe mailing list