Closed askmeaboutlo0m closed 7 years ago
Fixes compilation errors when this library is used from a macro somewhere. This patch simply replaces the uses of the flash package with openfl.
flash
openfl
To reproduce the error, git checkout 2f6e46ba7a9fee71e11cd771f74af748684eee6e and try to run the tests. They should fail to compile with:
git checkout 2f6e46ba7a9fee71e11cd771f74af748684eee6e
HaxeWrapper.hx:73: format/SVG.hx:4: characters 7-29 : You cannot access the flash package while in a macro (for flash.display.Graphics)
This would resolve #57.
Fixes compilation errors when this library is used from a macro somewhere. This patch simply replaces the uses of the
flash
package withopenfl
.To reproduce the error,
git checkout 2f6e46ba7a9fee71e11cd771f74af748684eee6e
and try to run the tests. They should fail to compile with:This would resolve #57.