Current location: Brighton, UK

if(!AMF0) AS3 + FMS2 != worky

Posted on Thursday, June 28, 2007 @ 00:57 CET

Holy freaking crap. I've been tearing my hair out trying to figure out why FMS2 isn't liking my extremely simple AS3 app until I came across this post. Basically the magic is as follows:

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

In other words, FMS2 is still using the previous AMF spec? Without that line I was getting "NetConnection.Connect.Failed" errors all the time. How about updating your FMS docs Adobe? Come on!

- paulo

Post a comment:

You must have Flash and JavaScript enabled to post a comment.