Questions tagged [nme]

NME is a free, open-source framework that enables development for iOS, Android, webOS, BlackBerry, Windows, Mac, Linux and Flash Player from a single codebase.

From http://www.haxenme.org/documentation/about/:

NME is a free, open-source framework that enables development for iOS, Android, webOS, BlackBerry, Windows, Mac, Linux and Flash Player and HTML5 Canvas from a single codebase. Unlike most cross-platform frameworks, NME applications are not written in a low-level language (like C or C++) and does not require a virtual machine or runtime (like Java and Adobe AIR) in order to run on a target platform.

NME projects are written in Haxe, which is a crossplatform, strictly-typed language which itself can be compiled into JavaScript, Flash, NekoVM, PHP, C++ and C#.

67 questions
0
votes
1 answer

Haxe not detecting libraries

I am a newbie to haxe and nme, and I thought I'd make a sample project and see how it all works. I normally use FlashDevelop for the IDE. First I tried to run the Actuate Example provided…
Zeeshan Ahmad
  • 295
  • 3
  • 15
0
votes
0 answers

Why do I get Class not found error in my Haxe OpenFL project when embedding external SWF library

My OpenFL project is being compiled to Flash and another developer on the team built some components in Actionscript 3 for all the developers to use. I added the SWF containing the components to my build.xml file like so.
mattwallace
  • 3,687
  • 4
  • 35
  • 69
0
votes
1 answer

Can't install NME from source

$ haxelib list format: [3.0.2] hxcpp: [3.0.2] nme: [dev:C:\Users\NME/] nmedev: [dev:C:\Users\nmedev/] svg: [1.0.7] swf: [1.0.0] $ nme Error: Library nme version dev is not installed Anyone run into this? Everything is up to date.
Tom
  • 1,490
  • 1
  • 14
  • 19
0
votes
1 answer

NME Compile HTML 5 Error

I've been working on a NME application and when I compile it I receive the following error: "C:\Program Files\Haxe\haxe/lib\nme/3,5,5/nme/errors/EOFError.hx:25: characters 0-18 : Class not found : browser.errors.EOFError Build halted with errors…
user735155
  • 27
  • 4
0
votes
1 answer

StablexUI for Haxe NME not working

I am using this simple code snipet in nme to use the StablexUI for haxe but all I get is a blank white screen. UIBuilders.init(); //Create our UI Lib.current.addChild( UIBuilder.buildFn('ui.xml')() ); The ui.xml file contains the xml for the UI…
kolexinfos
  • 887
  • 1
  • 19
  • 41
0
votes
2 answers

Imposible to build an android version of my project with nme, haxe and flashdevelop

I’m trying to compile my nme project for android, but until this moment it has been impossible for me. The error message that I’m getting is Running process: C:\Program Files (x86)\FlashDevelop\Tools\fdbuild\fdbuild.exe …
A Zuniga
  • 97
  • 1
  • 3
  • 14
0
votes
1 answer

stageWidth&height in neko

platform target:NME-Neko Hi I need stage's Width, so I call stage.stageWidth like this: public function new() { super(); sx = stage.stageWidth; sy = stage.stageHeight; } but It traced Error: プロセスを実行中: C:\Motion-Twin\haxe\haxelib.exe…
0
votes
1 answer

Haxe NME Resizing a Bitmap

I am trying to learn NME with haxe to create a small game. I have setup NME 3.5.5 with Haxe 2.10 in FlashDevelop. To draw the game background, I'm using // Class level variable var background : nme.display.Bitmap; public function initResources() :…
Sri Harsha Chilakapati
  • 10,962
  • 6
  • 46
  • 87
0
votes
1 answer

How do I target HTML5 with NME and Haxe?

I have created the simple NyanCat example project that comes with NME (purely as an example!) using the following line: nme create NyanCat I can compile (target) to Flash and it works, with the following line: nme test project.nmml flash But when…
Chris
  • 43,908
  • 26
  • 122
  • 165
0
votes
2 answers

how to make haxe nme preloader render bitmap with transparency

I want to show image with alpha channel over preloader's background for flash target with haxe nme. This need seems to be common when it comes to a preloader. I find several possible way to do that, but with out luck on any of them. Since I make a…
Henry.T
  • 135
  • 2
  • 9
0
votes
1 answer

Haxe NME project with Android target fails to deploy: Activity class does not exist

I created an NME project in FlashDevelop, in the Main.hx I loaded a Bitmap then clicked on the build button with android as target. The build successfully finishes but then I get the following error: Running process: C:\Motion-Twin\haxe\haxelib.exe…
nosferat
  • 915
  • 13
  • 30
0
votes
1 answer

Problems building an html5 version of a haxe nme project

I have tried to build an html5 canvas version of the nme-runnermark, but without any significant success. The flash version builds without any problems. I get the following stack of errors: /usr/lib/haxe/lib/nme/3,5,5/browser/utils/ByteArray.hx:22:…
Preslav Rachev
  • 3,694
  • 5
  • 32
  • 57
0
votes
1 answer

Targeting in NME - Demo project cannot converted to, for example, JavaScript - Target error

I'm playing with the interesting tool NME which is a combination of Haxe and Neko. I like the idea that it is possible to target to different languages but this seems not right? I have downloaded the examples and run perfectly when targeting NME,…
Codebeat
  • 6,123
  • 5
  • 51
  • 88
0
votes
1 answer

is it possible to load the content of one nmml from another one?

Is it possible to have one main project.nmml file with multiple children overriding some of the configuration? ie project.nmml project_ouya.nmml And call nme test "project_ouya.nmml" android. Or is there a better solution for this type of…
Coyote
  • 2,273
  • 25
  • 45
0
votes
0 answers

Can't install the resulted apk file

After long hours, I finally compiled the Haxe code targeting android using FlashDevelop. I copied the bin folder, which contains the apk file to my phone, when I tap the apk file, the "Do you want to install this application?" shows, but if I tap…
simo
  • 20,548
  • 31
  • 101
  • 188