I'm starting to transition from AS3 to Haxe in my spare time, and I'm currently trying to import a third-party library for Haxe. In this case, it's a Starling port: http://lib.haxe.org/legacy/p/starling. It looks to me like swfs essentially replace swcs in Haxe, and the folder contains a starling.swf, not a starling.swc. The IDE I'm using is FlashDevelop.
So I added a folder in my project's solution called "libs", and I added starling.swf into that folder. I can expand starling.swf in the solution explorer, and it shows me things like the classes it has in it, for example. So I right-clicked on it and selected Add To Library. But now if I try to build what's effectively a Hello World project with that swf being added as a library, the build process takes several seconds, then fails with no errors. I've already made sure the target platform is Flash Player 11.1, as opposed to the JS default.
The library itself seems to be endorsed by the Haxe community, so I don't think it's just corrupted or anything. But I have tried Googling how to add a library to a Haxe project in FlashDevelop without much success. What am I doing wrong here? Thanks.
--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
---
You received this message because you are subscribed to the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to a topic in the Google Groups "Haxe" group.