Loading .bmp (Bitmap) and .tiff file in Flash 10 using a Loader

后端 未结 2 1335
时光说笑
时光说笑 2020-12-18 15:20

I am developing a Image uploader using Flash 10. I am using FileReference object to browse images and Loader to show the image:

Sample code:

         


        
相关标签:
2条回答
  • 2020-12-18 15:29

    No. Flash does not support .bmp and .tiff files.

    Adobe Help Docs

    "The bitmap image formats supported by Adobe Flash Player are GIF, JPG, and PNG."

    0 讨论(0)
  • 2020-12-18 15:33

    BMPDecoder class from Spark lib: http://www.libspark.org/svn/as3/BMPDecoder/src/com/voidelement/images/BMPDecoder.as

    Example of the usage: http://hi.baidu.com/leyhui/blog/item/d12be8b116ec915308230298.html

    Regarding TIFFDecoder, it is still work in progress, but very promising one:

    http://code.google.com/p/windowsbitmapdencoder/

    0 讨论(0)
提交回复
热议问题