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 HTH Tom On 3 Oct 2010, at 18:44, Henrik Andersson wrote: Dave Watts skriver: >> I'm trying to compress XML data being exchanged via Socket with a Perl >> backend and after taking several hurdles, I'm stuck at this error message: >> >> 1061: Call to a possibly undefined method inflate through >> a reference with static type flash.utils:ByteArray. > > In your code, if there's nothing to read, your exception handlers fall > through after calling handleTcpError. At compile time, the compiler > has no guarantee that there'll be anything in the byte array. > So what? That is no grounds for throwing a compiler error. It's your job to ensure that stuff is setup properly at runtime. A runtime issue will never raise a compiler time error. _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders