Browsing All posts tagged under »bytearray«

AS3 BitmapData AMF solution using IExternalizable

September 12, 2009

0

Using bitmaps in an AS3 remoting environment isn’t that easy. If I’m getting it right, the problem is that the BitmapData object needs constructor parameters, wich isn’t combinable with the handy [RemoteClass(alias= ] method of invoking the objects when streaming data into a ByteArray. A walkaround is to wrap the BitmapData into a custom class… [Read more…]

AS3: Loading sound from bytearray

July 8, 2009

4

When fiddling with using zip in Flex/As3, I discovered that the Sound class doesn’t have a .loadBytes method (corresponding to the Loader class .loadBytes method). I was able to get the byteArray data out of the zip, but no way to feed a Sound object with it! Grr..! Luckily, there are lots of gifted bravehearts… [Read more…]

Follow

Get every new post delivered to your Inbox.