I'd say that sample project was designed for Haxe 2, and some of the command line parameters have changed with Haxe 3. Also, OpenFL seems to be the future.
The same (or similar?) sample project, but for OpenFL and Haxe 3 (instead of NME and Haxe 2) is available here:
https://github.com/openfl/openfl-samples
Give those samples a shot...