gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-dev] Hello world in haXe does not work


From: Asger Ottar Alstrup
Subject: [Gnash-dev] Hello world in haXe does not work
Date: Thu, 5 Jul 2007 13:05:54 +0200

I'm trying to see if CVS Gnash of today can run a .SWF made with haXe (see http://www.haxe.org).

I'm using this Hello.hx file:

class Hello {
  static public function main() {
    trace("Hello");
  }
}

and compiling with

  haxe -main Hello -swf hello.swf

which produces the attached .swf file.

When I run this, I get:

  $ gnash -a hello.swf
  ** (lt-gnash:11554): WARNING **: Couldn't find pixmap file: GnashG.png
  lt-gnash: ../server/vm/fn_call.h:82: gnash::as_value& gnash::fn_call::arg(unsigned int) const: Assertion `n < nargs` failed.
  Aborted (core dumped)

I expected a window with the text "Hello.hx:3: Hello" in it.

Any ideas what is wrong?

Regards,
Asger Ottar Alstrup

Attachment: hello.swf
Description: application/shockwave-flash


reply via email to

[Prev in Thread] Current Thread [Next in Thread]