That's correct Bjorn.

In the final release of Flex 2 the individual NetConnection based
mx.messaging.Channel implementations that make the connections to AMF or
RTMP endpoints for RemoteObject (and, well, the other services too) will
protect themselves from the NetConnection.defaultObjectEncoding by
setting their own encodings.

Pete

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Bjorn Schultheiss
Sent: Sunday, June 04, 2006 7:20 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] F2 CF FMS AMF encoding problems

I think I've sorted it out
Instead of the default level
NetConnection.defaultObjectEncoding = flash.net.ObjectEncoding.AMF0;

I've gone the instance level
Nc.objectEncoding = flash.net.ObjectEncoding.AMF0;



-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of bjorn.schultheiss
Sent: Monday, 5 June 2006 8:54 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] F2 CF FMS AMF encoding problems

Hi guys,

I'm setting up a basic test application.
The app initially performs a login with CF where I pass a LoginVO
instance straight into CF.
The new AMF3 handles the typed object beautifully and CF easily returns
me back a new LoginVO instance.

Next I attempt to make a connection to Flash Media Server.
This is the error message I receive.
code : NetConnection.Connect.Failed
description : objectEncoding error

If I set
NetConnection.defaultObjectEncoding = flash.net.ObjectEncoding.AMF0; My
connection to FMS works, but my handling of the LoginVO instances with
Coldfusion no longer works (for obvious reasons).

Is there a workaround for this?

Thanks,
Bjorn



Bjorn Schultheiss
Senior Flash Developer
qdc
Personalised Communication Power

Level 2, 31 Coventry St.
South Melbourne
3205, VIC Australia

T:  +61 3 9674 7400
F:  +61 3 9645 9160
W:  http://www.qdc.net.au

((------------This transmission is confidential and intended solely for
the person or organization to whom it is addressed. It may contain
privileged and confidential information. If you are not the intended
recipient, you should not copy, distribute or take any action in
reliance on it. If you believe you received this transmission in error,
please notify the sender.---------------))








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links









--
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




Reply via email to