Haxeflixel trace

First day of HaxeFlixel Coder. Stupid mistake, but Google is not helping me.

How to track FlashDevelop output with Haxe, NME, and Flixel. It works when executed using C ++, but nothing for Flash!

I tried

trace("hello");
Lib.trace("hello"); //With correct imports

Sorry, feeling so stupid right now!

+5
source share
4 answers

Traces of the flash target are displayed on the player itself, since flashplayer cannot redirect them to flashdevelop output. A workaround is to use the neko goal during development and after development is complete, delete any traces and compile for firmware.

+2
source

, , "" Flash Player, SWF . OpenFL ( Flash-, flashDevelop).

, :

  • FlashDevelop Tools > Install Software...
  • Flash Player SA ( debug Flash player)
  • FlashDevelop.

, - FlashDevelop , Flash Player , , :

Flash-:

  • FlashDevelop Tools > Program Settings...
  • FlashViewer plugin > External Player path
  • , SWF SWF ,
  • SWF ,
  • , , "".

OpenFL FlashDevelop, Output.

PS: , project.xml :

<haxeflag name="--no-traces" />
+2

, , .swf, - ( ), debug Flash Develop,

0

All Articles