When using a flash sprite to convert an image to #BitmapData I get a "Wrong Type" error. Does this only work with specific image types? Any ideas on what might cause this error? The image I am trying to convert is from a bitmap member.
bmp_data = flash_sprite.convert( #BitmapData, member( "some bmp" ).image )
Try a little error checking:
im = member("some bmp").image
bmp_data = flash_sprite.convert( #BitmapData, im )
After a bit of testing it seems maybe it doesn't like 16 bit images.