NetConnection.defaultObjectEncoding = flash.net.ObjectEncoding.AMF0;
SharedObject.defaultObjectEncoding = flash.net.ObjectEncoding.AMF0;
just to be sure I set objectEncoding to AMF0 for the instance that I am using with no effect. If you don't set the objectEncoding you get a NetStatus error with description "objectEncoding error".
Thanks
--
david
On 6/19/06, Peter Farland <[EMAIL PROTECTED]> wrote:
Add the following line (where the ObjectEncoding class is in the flash.net package along with NetConnection):nc.objectEncoding = ObjectEncoding.AMF0;In ActionScript 3.0, the default object encoding for NetConnection is AMF 3, however FMS2 uses the legacy AMF 0.
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development | Computer software development | Software design and development |
Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.