Skip to main content
June 7, 2013
Question

Issuing a request to an external URL onConnect

  • June 7, 2013
  • 0 replies
  • 335 views

I'm trying to accomplish the following:

my swf has a ?token= at the end

onConnect i strip the ?token= and need to pass it to www.domain.com/authenticate.php?token=<token>

if domain.com returns 1, I allow


this.acceptConnection(clientObj);

otherwise, I reject the connection.

I am aware of how to do the rest, I can't seem to find how to make a call to www.domain.com/authenticate.php and retrieve its response (body)

any help would be great!

    This topic has been closed for replies.