You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.)
The text was updated successfully, but these errors were encountered:
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.)
The text was updated successfully, but these errors were encountered: