[haXe] Problems with flash7 and haxe 1.13
Michael Pliskin
mike at comapping.com
Thu Jul 5 10:49:23 CEST 2007
Hello all,
I've just started using haxe 1.13 for our application, and found the
following issues with flash7 version we have.
1. TextFormat.getTextExtent method is marked flash8-only now for
some reason, while Adobe states is was available before:
http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00002808.html
2. There are multiple compile problems when accessing
haxe.remoting.Connection class. There is no
flash.external.ExternalInterface in flash7, so the code should
contain the conditional flags for that making call, jsConnect and
other methods unavailable - but it just throws a lot of
'ExternalInterface is only available under flash8' - and it's
even non-trivial to guess that Connection class is the problem.
The worst thing about it is that you don't need to try to use js
remoting - you can include Connection class to make a server
remoting call, and the code still won't compile.
Attaching two patches fixing this...
--
Best regards,
Michael mailto:mike at comapping.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Connection.hx.patch
Type: application/octet-stream
Size: 1404 bytes
Desc: not available
Url : http://lists.motion-twin.com/pipermail/haxe/attachments/20070705/38548bca/Connection.hx-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TextFormat.hx.patch
Type: application/octet-stream
Size: 661 bytes
Desc: not available
Url : http://lists.motion-twin.com/pipermail/haxe/attachments/20070705/38548bca/TextFormat.hx-0001.obj
More information about the Haxe
mailing list