Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HaxeFlixel Trace

Day one HaxeFlixel Coder. Stupid error, but Google isn't helping me.

How do I trace to FlashDevelop output using Haxe, NME and Flixel. It works when executing using C++, but nothing for Flash!

I've tried

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

Sorry, feeling so stupid right now!

like image 718
Daniel Messias Avatar asked Oct 04 '22 06:10

Daniel Messias


1 Answers

The traces for the flash target appear on the player itself since flashplayer cannot redirect them to the flashdevelop output. The work-around is that use neko target while developing and once development completed, remove any traces and compile to flash.

like image 90
Sri Harsha Chilakapati Avatar answered Oct 13 '22 10:10

Sri Harsha Chilakapati