0 Replies Latest reply on Mar 16, 2007 6:10 PM by johnfn

    Xml Socket Connecting To Ip Address

      Here's my code, shortened a lot:

      var mySocket:XMLSocket = new XMLSocket();
      mySocket.connect("<my ip address here>", 9999);
      mySocket.onConnect = function(success) {
      if (success != true) {
      tx.text = "Server cannot be reached.";

      The idea is that I want XMLSocket to connect to my IP address from the internet.

      Well, the code works fine and dandy when I run the flash from my computer. But when I upload it on the internet it stops working. There's probably something wrong about the flash security model or something that I'm unaware of... Anyone want to explain? :)

      Btw, treat me as an utter XMLSocket noob, as I am one. I've only been using them for a week or so.