将动态图像从Flex传递给PHP

时间:2011-11-01 20:24:59

标签: php actionscript-3 flex image bytearray

需要:

1)从Flex

中的BitmapData创建bytearray

2)将此bytearray(或可能转换为带有b64的字符串)传递给php脚本

3)将此bytearray再次转换为PHP中的图像并显示它。

怎么做?

1 个答案:

答案 0 :(得分:0)

如果您使用HTTPService执行此操作,则可以使用正确的headers填写content-type属性...您可能需要查看此http://en.wikipedia.org/wiki/Internet_media_type