simb/FlashSocket.IO — Issue #8: Cannot connect using example.  "Variable URLUtil not defined"
Author: matt-callanan
Created: 2011-12-14 19:37:11+00:00
State: open

Need to use FlashSocket.IO without Flex. I am trying to just the fx:Script portion of the example in the README. This compiles fine, and connects to the server, but never handshakes. It throws this error: "Variable URLUtil not defined", when it tries to pull it it in the following lines from FlashSocket.as

var policyUrl:String = "xmlsocket://" + URLUtil.getServerName(wsUrl) + ":843";
return (URLUtil.getProtocol(this.callerUrl) + "://" +
URLUtil.getServerNameWithPort(this.callerUrl)).toLowerCase();