Questions tagged [openfl]

For questions relating to the OpenFL software development kit.

OpenFL is a free and open-source software framework and platform for the creation of multi-platform applications and video games.

OpenFL projects are written in the programming language, and may be published as standalone applications for Adobe AIR, Microsoft Windows, macOS, Linux, iOS and Android, or to the web using Adobe Flash and HTML5.

275 questions
0
votes
1 answer

How to get TouchEvent on Windows desktop for OpenFL app?

I'm on a touch enabled Windows machine compiling OpenFL. I'm compiling to the Windows/C++ target using OpenFL and Haxe 3. I cannot get touch events to work. Here's where I'm adding them: private function onAdded(e:Event):Void { …
FlavorScape
  • 13,301
  • 12
  • 75
  • 117
0
votes
1 answer

Referencing the Extension Java files between dependencies

Working on the new android side of extensions with the changes. I have my separate extension as its own dependency. In my code I require references to the Extension.Java class as well as the HaxeObject. These are located in extensions-api, which is…
Groshh
  • 140
  • 1
  • 11
0
votes
1 answer

No sound on BlackBerry with openfl

I try to use haxe (openfl) for blackberry development. And I test PlayingSound sample - it works. But when I try to load sound from url - doesn't work. Here is my code: public function PlaySong(url:String):Void{ var _url:URLRequest = new…
dmitryhryppa
  • 119
  • 3
  • 11
0
votes
2 answers

Sprite class in OpenFL (formerly NME) for empty placeholder objects?

I am experimenting with Haxe and OpenFL and am wondering if the Sprite class is synonymous with a GameObject in Unity. It seems that sprite instances have a hierarchical structure and I am wondering if this can be utilised to manage objects. For…
Lea Hayes
  • 62,536
  • 16
  • 62
  • 111
-1
votes
2 answers

Haxe / Openfl/ Is it possible to load a video (.mp4) from the Assets file and display it in the stage?

Why does Haxe have such poor documentation" Why are there no examples at all?
1 2 3
18
19