[haXe] bug in flash.system.FSCommand ?
Roberto Saccon
rsaccon at gmail.com
Tue Jan 2 05:52:20 CET 2007
I updated haxe from CVS, but fscommand is not working for me, when compiling
with flash9:
flash.Lib.fscommand("cmd", foo);
gives error:
flash.#Lib has no field fscommand
(and if I try with flash9.Lib.fscommand("cmd", foo); I get: Invalid package
: flash9 should be flash)
regards
Roberto
On 12/30/06, Nicolas Cannasse <ncannasse at motion-twin.com> wrote:
>
> > Just started today with flash9 coding and and according to
> >
> http://livedocs.macromedia.com/flex/2/langref/flash/system/package.html#fscommand()
> > <
> http://livedocs.macromedia.com/flex/2/langref/flash/system/package.html#fscommand()
> >
> >
> > fscommand(commandString); is allowed in AS3.
> >
> >
> >
> > But currently the required signature in Haxe is:
> >
> >
> > static function _fscommand(command : String
> > <http://haxe.org/api/String>, args : String
> > <http://haxe.org/api/String>) : Void <http://haxe.org/api/Void>
> >
> >
> > args should be optional. And why the underscore ??
>
> fscommand for Flash9 is added on CVS version of haXe as
> flash.Lib.fscommand, it will be available as part of 1.10 release.
>
> Nicolas
>
> --
> haXe - an open source web programming language
> http://haxe.org
>
--
Roberto Saccon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/haxe/attachments/20070102/1ed8581f/attachment.htm
More information about the Haxe
mailing list