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
2
votes
1 answer

NME android path location?

nme test build.nmml android Error: Could not find /Library/Android//extras/android/support/v4/android-support-v4.jar This is my error. I see that there is a "//", but there should be a directory there normally my path is…
Axel Lavielle
  • 252
  • 1
  • 11
2
votes
1 answer

Resize a Sprite image in Haxe?

I am developing a small game using Haxe and box2d. I am rescaling the player body which is a sphere, while the player is in contact with a particular object, but I am trying to scale the image as I scale the body. public function new(w:Int, x:Int,…
user1989292
  • 43
  • 1
  • 1
  • 6
2
votes
1 answer

RTTI property not found for CPP targets in Haxe NME

I'm using rtti in haxe nme. It works well when targeting flash but when compiling to a cpp target I receive the following error. error C2039: '__rtti' : is not a member of 'Class_obj' I'm doing this... public function…
Tom
  • 1,490
  • 1
  • 14
  • 19
2
votes
1 answer

Using Bluetooth with Haxe NME

I was planning to use Haxe NME to develop a simple bluetooth chat application. Is it possible to use device specific native APIs with Haxe? Or is there some wrapper class available to use bluetooth?
mchouhan_google
  • 1,326
  • 1
  • 17
  • 24
2
votes
4 answers

Haxe, as3hx, NME, Apache FlexJS - Convert Flash Builder Flex project to HTML5+Js

Have used Flash Builder 4.6 in the past to create some mobile applications. The apps created runs fine only on high-end phone models but also runs slower than native apps. Especially when the app is 'booting', it takes a while when the app is fully…
Codebeat
  • 6,123
  • 5
  • 51
  • 88
2
votes
2 answers

another '"java.exe"' is not recognized as an internal or external command

As I have been struggling with this over two hours, I am desperately posting this question, When I try to build a NME project in FlashDevelop, I get this error: Running process: C:\Program Files (x86)\FlashDevelop\Tools\fdbuild\fdbuild.exe…
simo
  • 20,548
  • 31
  • 101
  • 188
2
votes
2 answers

nme haxe, unable to build on android platform with flashdevelop

I'm just getting to know nme haxe developing, I'm currently using flashdevelop. I have a problem when building a sample app (piratepig) under android platform. Lots of "no such file or directory". Everything seems fine when I choose windows, Html5,…
balazon
  • 35
  • 7
2
votes
1 answer

Persisted data on iPhone with Haxe

I'm somewhat new to Haxe/NME and am a bit confused about what the best approach would be to access data that would traditionally be stored in a database. I have some code where I need to get a list of possible values based on a given input and I'm…
Ryan Lanciaux
  • 5,964
  • 2
  • 34
  • 49
1
vote
1 answer

How to ship an openfl desktop (windows) application

I created a haxe project using openfl. I can build and run the project on my own desktop using lime test windows. Now how do I actually ship this project to other users? I tried simply zipping the binary output created by running the command above.…
Antiz
  • 1,245
  • 1
  • 10
  • 19
1
vote
1 answer

Haxe: rebuild hxcpp failed with Error: Could not find build target "std"

Trying to rebuild hxcpp failed with the cryptic error message: Error: Could not find build target "std"
Jeff Ward
  • 11,655
  • 3
  • 36
  • 48
1
vote
2 answers

OpenFL C++ Error: Could not guess MINGW_ROOT

I am new to OpenFL and were trying to get it to work for the first time. I have installed haxe, lime and openfl via command prompt, and installed Visual Studio Express 2010 using lime setup windows. But when I try to compile a brand new OpenFL…
TommyX
  • 81
  • 2
  • 10
1
vote
1 answer

Timer in command-line application

Trying to create a simple command-line application in Haxe which has a ticking Timer, but it does not seem to work out; the Timer never actually starts 'ticking'. package; import haxe.Timer; class TimerCallback { private static inline var…
user2299169
1
vote
1 answer

FlashDevelop / Haxe - build halted with errors (haxelib.exe)

I'm trying to get started with Haxe but I can't even get past the easiest step, compiling the "new project" template. I'm using FlashDevelop 4, installed Haxe and used the the command haxelib install openfl to install openfl (did the same for NME)…
tschery
  • 153
  • 2
  • 14
1
vote
1 answer

Convert js project to NME project?

I have a project written in createJS using haxe js project, what would it involve to re-write the project to be NME based targeting AS3? Is it a difficult task? any one tried this before?
simo
  • 20,548
  • 31
  • 101
  • 188
1
vote
2 answers

Embeding and reading image assets when deploying to Windows

In other platforms i could just use something like [Embed(source="logo.gif")] or @:bitmap, but it seems there is no option for that for Windows/Other Cpp platforms. I tried to use the EmbedAssets lib but it's outdated. I also tried using the nmml…