Bingo, Tom - On Sun, Oct 3, 2010 at 8:14 PM, Tom Gooding <t...@quickthinkmedia.co.uk> wrote: > It looks to me like your compiler error is due to a call to _bytes.inflate() > where the compiler detects that inflate() is not a method of the ByteArray > class, I think it was added in later player versions - check your publish > settings? > > older docs (missing): > http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/utils/ByteArray.html > newer docs (present): > http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/utils/ByteArray.html
>>> 1061: Call to a possibly undefined method inflate through >>> a reference with static type flash.utils:ByteArray. I was publishing for Player 9! After I've changed it to Player 10, the code has compiled. Thank you If I want to publish for Player 9, then I probably have to modify my backend to use zlib and then call _bytes.uncompress()? Regards Alex _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders