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: Martin Guy
Subject: [Gnash-dev] Hello world in haXe does not work
Date: Thu, 5 Jul 2007 13:18:01 +0100

2007/7/5, Asger Ottar Alstrup <address@hidden>:
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)

You're right! Although haxe produces flash version 8 by default, which
is not fully supported in gnash, "haxe -swf-version 7 ..." also
provokes the same error.

I've filed it as a bug, see https://savannah.gnu.org/bugs/index.php?20355

  M




reply via email to

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