Hi,
I'm attempting to prove out a migration strategy for moving an existing AS3 codebase to Haxe, one class at a time. I found the @:bind metatag to be used as a hint to the compiler to use a hx version of a class instead of one that resides in a swc, but it doesn't seem to be working. It looks to me like the compiler support of this tag hasn't been touched since 2011, so my assumption is it hasn't been tested in a while. fponticelli was helping me with the problem on IRC, and told me there are no unit tests for this tag. I've put together a small test case that illustrates the problem.
I have an as3 class that draws a red square. I have a hx class that draws a blue square, annotated with @:bind. I compile the as3 class into a swc, then compile the hx source against it. They resulting swf draws a red square.
Any help would be appreciated!
- Philip
PS - Thanks to fponticelli for the help last night, and for pointing me to this group!