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

ImageParser deal with BitmapAsset embeds #26

Open
richardolsson opened this issue May 17, 2011 · 0 comments
Open

ImageParser deal with BitmapAsset embeds #26

richardolsson opened this issue May 17, 2011 · 0 comments
Assignees
Labels

Comments

@richardolsson
Copy link
Member

When embedding images, they will by default be mx.core.BitmapAsset instances, meaning that a common mistake will be for users to have ImageParser try to parse data that is not actually a byte array, but instances of said class. Deal with that; either throw an informative error, or instantiate the class and return it's BitmapData as an asset directly (instead of using Loader.loadBytes() to load the bitmap.)

@ghost ghost assigned richardolsson May 17, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant