Hi,

I did a short tutorial on some basics of connecting Flex 2/FMS:

http://flash-communications.net/technotes/fms2/flex2FMS/index.html

To set the encoding:

NetConnection.defaultObjectEncoding = flash.net.ObjectEncoding.AMF0;

Yours truly,
-Brian

[p e r c e p t i c o n] wrote:

hello experts...
i'm trying to connect to an fms2 server using as3 like this...

             connection = new NetConnection();
             connection.addEventListener(NetStatusEvent.NET_STATUS,
netStatusHandler);
             connection.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
securityErrorHandler);

             connection.connect("rtmp://localhost/myApp/_definst_");

however, i keep getting a connection error stating that there's a problem
with object encoding...is there an upgrade for fms2 i should know about?

thanks

p
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


--
______________________________________________________________________
Brian Lesser
Assistant Director, Application Development and Integration
Computing and Communications Services
Ryerson University
350 Victoria St.
Toronto, Ontario                   Phone: (416) 979-5000 ext. 6835
M5B 2K3                            Fax: (416) 979-5220
Office: POD??                      E-mail: [EMAIL PROTECTED]
(Enter through LB99)               Web: http://www.ryerson.ca/~blesser
______________________________________________________________________

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to