Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot connect using example. "Variable URLUtil not defined" #8

Closed
matt-callanan opened this issue Dec 14, 2011 · 3 comments
Closed

Comments

@matt-callanan
Copy link

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();

@Dasbachc
Copy link

I'm having the same issue, were you able to solve this?

@hdoshi
Copy link

hdoshi commented Jan 26, 2012

I am having the same issue. Any ideas on way to solve it ?

@gauravrane
Copy link

Include the swc's from the Flash Builder 4.6.0 Flex SDK that should solve the problem. They are in the sdks>4.6.0>frameworks>libs folder under your Flash Builder folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants