-
Notifications
You must be signed in to change notification settings - Fork 19
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
Fix loading bundles on Flash #32
Conversation
This is likely not the correct solution. OpenFL has a custom extern for |
Actually, in the following commit, I can see where (on non-Flash targets) It appears that the Flash externs were accidentally omitted from this change. So my previous comment is on the right track, but may have some of the details wrong. @jgranick made the change for non-Flash targets. If he's available, he might know better what's needed to fix the Flash externs here. |
The trick here is we need to
We're not in Flash internals, so non-Flash targets use a base class called Options: 1.) Promote Option 4 seems like a good bet. There's already a check here (though seems redundant?)
If not IMHO options 1 and 2 are poor choices. Option 3 would remove the need for Here would be my action steps: 1.) Set |
Thanks for the feedback. I've updated the PR with your suggestion, which seems to work just fine. When testing, I had somehow the value |
Thanks! |
This PR add missing fences around
Sprite.__constructor
for flash.