Is it easily possible to create images from binary data today in Flash8?
Or do we have to wait for 8.5? and What would the approach be in flash8?
You can do both - decode binary data to form an image, and encode binary
data from an image. However, you would need to code the image
encoding/decoding functions in actionscript, and of course you would still
be limited by Flash inability to save/load files so the possibilities would
still be quite limited (not sure if that's what you're looking for). But
it's doable, it's just not something done automagically, so depending on how
your binary data is encoded, it can either be pretty easy (RLE) or pretty
hard (JPEG).
Flash 8.5 will have more or less the same approach, although encoding (and
possibly decoding) will be easier thanks to the zlib-like compression and
decompression of data that's natively available on the language. See Tinic
Uro's recent blog entries, where he talks a bit about it (using AS3).
http://www.kaourantin.net/
The same can be done on AS2 for Flash 8, but would require you to create new
zlib-like functions.
- zeh
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders