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.
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.