haxe Questions

1

Solved

I have Object parsed from JSON (haxe.Json.parse()) and I need to iterate over it. I already tried to cast this object to Array<Dynamic>: var data:String='{"data":{"0":0,"1":1},"method":"test...
Desensitize asked 20/3, 2013 at 17:29

1

Solved

It seems AS3 has a toString() for the Number class. Is there an equivalent in Haxe? The only solution I could come up with for converting an Int to a String is a function like: public function Int...
Disseminule asked 8/2, 2013 at 17:25

6

Solved

I know of FlashDevelop for windows but how about developing actionscript or haxe on a mac? besides flex plugin for eclipse, flex builder and FDT is there anny good IDE out there for actionscript de...
Clef asked 23/3, 2010 at 22:15

2

Solved

In the Haxe programming language, is it possible to pass a function as a parameter (like in JavaScript?) For example, is the following code considered valid in Haxe? function a(){ trace("This fu...
Janik asked 24/12, 2012 at 21:13

1

Solved

Using the Haxe programming language, is it possible to print the command line arguments that are passed to an application? I'm trying to re-write this Java program (which simply prints the command...
Inerrable asked 30/10, 2012 at 4:46

1

Solved

Okay, so I'm trying to get an initial build of the NME sample files onto an Android device. I can build for platforms such as HTML5, Flash and Windows, but I can't get it onto Android - I always g...
Rubirubia asked 7/10, 2012 at 18:37

8

Solved

Lately I've been taking a look at Haxe, to build an application to be deployed to Apache running PHP. Well, while it looks like it might suit my needs (deploying to PHP, but not using an awful lang...
Westbrooks asked 30/9, 2008 at 1:41

2

Solved

Recently I've been looking for new (al least for me new) ways to make web apps. And I found two languages that seems very promising. Google Dart and Haxe. Both can compile to javascript, so t...
Dalessandro asked 5/9, 2012 at 21:9

3

Solved

Just recently I stumbled upon the awe6 game framework for Haxe and I want to give it a try, but the only "tutorial" on the site is a prebuilt FlashDevelop project template that also appears t...
Scutch asked 29/4, 2012 at 11:57

2

Solved

How can I find out if an object implements an interface? In other words I need a possibility to check if an object can be cast to a specific type (e.g. a specific interface).
Becht asked 27/8, 2012 at 10:11

3

Solved

This is a small project for testing pixel level manipulation performance of NME for different builds (Windows c++, Flash). It uses BitmapData.setPixel to modify the pixels one by one (320x240 for ...
Tuppeny asked 14/4, 2012 at 22:13

5

Solved

I am in the planning stages of a new Flash game project and was wondering which language would be better to use? I already have a strong understanding of Actionscript 3, and have not worked with Ha...
Romeliaromelle asked 25/6, 2009 at 16:4

1

Solved

I have a class: class MyClass { private var num : Int; } I would like to know that the field has the type Int regardless of the current value which can be null for example.
Peeling asked 6/12, 2011 at 10:54

1

Solved

Can I pause execution from within JS code? I am working on a simple haxe-based debug util, and I want to be able to simulate breakpoints, by calling a util method which will trigger the execution p...
Vedic asked 20/11, 2011 at 9:23

5

Solved

I have an application written in flash (actually it is written in Haxe and run under SHWX but it doesn't matter here). I have a pretty complex task that consumes a lot of CPU power and sometimes ex...
Impressionable asked 18/9, 2008 at 9:56

7

Solved

I use Haxe to generate PHP code. (This means you write you code in the Haxe language and get a bunch of php files after compiling.) Today a customer told me that he needs a new feature on a o...
Schlock asked 14/1, 2010 at 15:2

1

Solved

First a little background: I'm looking for a way to create a "collection" library that abstracts the Flash Player version based implementation (Vector on FP10, Array on FP9) away from the calling c...
Quintal asked 23/5, 2011 at 12:30

1

Solved

I'm thinking about using Haxe in place of AS3. What are the disadventages of that? I can think about: Difficulties with using native AS3 libraries. Difficulity of debugging after language transla...
Avertin asked 7/3, 2011 at 13:1

2

I was thinking of using Haxe for it's cross-language ability, but wasn't sure if it was the best for this task. I'm going to write a generic library that should be able to be used in the target lan...
Ubald asked 16/12, 2010 at 6:11

4

Solved

This question only applies to Haxe version < 2.10 I've known about haxe for a while, but never really played with it until yesterday. Being curious, I decided to port showdown.js, a javascript ...
Linkwork asked 30/9, 2010 at 6:52

1

Solved

Let's say i acquire the name of a class that i made as a String. How can i Instantiate the class with the name contained in that string? I I know it will be derived from a certain parent class, but...
Taw asked 8/9, 2010 at 9:56

2

Solved

Do you know if there is an easy way to pass some arguments to a function called via haxe.Timer.delay(func, delay); By "easy" I mean without creating any custom timer.
Trend asked 17/6, 2010 at 15:47

5

Solved

I feel a little bit kind of confused — for about 24 hours I have been thinking which group broadcasting technology to use in my project. Basically, what I need is: create groups (by some backend...
Sheepwalk asked 16/2, 2009 at 0:18

11

Solved

For people out there using Haxe, what makes it useful for you? Reading the website it looks very promising. Does it provide significant portability? What are some real world and perhaps unde...
Bakken asked 6/9, 2009 at 1:18

5

Solved

I'm working on autocompletion implementation in emacs for haxe programming language. I already figured out how to obtain list of autocompletions which I wants to present. The list is in format: '...
Honegger asked 17/7, 2009 at 16:10

© 2022 - 2024 — McMap. All rights reserved.