Is it possible to store images in the SharedObject of Flash?

谁说我不能喝 提交于 2019-11-29 07:40:32

In this case, you need to write your Bitmap to a ByteArray (in other words - binary data) before you set your shared object. Then you need to read it from a ByteArray into a bitmap when you retrieve it. Here is a quick sample the hopefully will get you moving in the right direction:

http://www.kirupa.com/forum/showthread.php?t=306972

Don`t forget, shared object has limited size (100Kb default)

Images to/from SharedObject.data - easy, free and ready to use class which includes full SharedObject events and status logic: Images to/from SharedObject.data

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!