Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use openfl instead of flash packages #58

Merged
merged 2 commits into from
Mar 3, 2017
Merged

Use openfl instead of flash packages #58

merged 2 commits into from
Mar 3, 2017

Conversation

askmeaboutlo0m
Copy link
Contributor

Fixes compilation errors when this library is used from a macro somewhere. This patch simply replaces the uses of the flash package with openfl.

To reproduce the error, git checkout 2f6e46ba7a9fee71e11cd771f74af748684eee6e and try to run the tests. They should fail to compile with:

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.

This will fail to compile with ``You cannot access the flash package
while in a macro (for flash.display.Graphics)''.
Fixes makes the test case from the previous commit pass and also
resolves #57.
@jgranick jgranick merged commit c79edc2 into openfl:master Mar 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Import "flash." ?
2 participants