openfl / openfl-samples

Haxelib-based OpenFL sample projects
http://www.openfl.org
MIT License
78 stars 41 forks source link

Adding trace() breaks flash version of PiratePig #7

Closed lukasz-zaroda closed 10 years ago

lukasz-zaroda commented 10 years ago

I'm not sure what is the cause, but try to add trace('something') or Lib.trace('something') somewhere in PiratePig, and you will get WSOD, when targeting flash. Game will compile but won't start. This is important as this is a sample of the game, that will be inspiring many people, and they will discover this problem firstly in their own projects (like me). I'm not sure if this is problem with HaXe or something with architecture of this sample.

jgranick commented 10 years ago

This sounds flukey :)

Should work, let me know if you have trouble again