I want to change the runing enviroment of a Flash game from Web to Desktop(Windows). The game sends and receives to a backend server. As it is now it calls like : var varURL:URLRequest = new URLRequest("../../index.php");
Running from a Windows App, it should be changed to the complete URL?
It should be changed to the fully-qualified URL where your script resides on your server; e.g.
var varURL:URLRequest = new URLRequest("https://example.com/game-directory/index.php");
Note that you may well need to check the cross-domain policy on the website where your scripts are hosted, and consider the transport protocols used, as some OSs may not allow it.