Can we upload an image from the stage to a server?

NOTA

  • Posts: 218
I have:
  /* ======================== When Creating ========================= */
        setGameAttribute("points", getGameAttribute("points2"));
        /* ======================== When Creating ========================= */
        loadGame("mySave", function(success:Bool):Void
        {
            runLater(1000 * 6, function(timeTask:TimedTask):Void {
                postToURL("http://myserver.com/upload.php", getGameAttribute("points2"), function(event:Event):Void { });}, null);
        });
do I have to convert to .txt first?
and can we just- get actor from [ screen/canvas/stage ] and post to the same .php ?
-------------------edit---------------------------
Can we take screen shot and send to server?

« Last Edit: September 21, 2019, 11:00:30 pm by NOTA »