Jump to content


Load echo answer

Recommended Posts

Is there the way to "load" server's echo answer? Like that:

var server_queue:LoaderMax = new LoaderMax({name:"server_queue", autoLoad:true, onChildComplete:serverAnswer, onError:serverError});
    server_queue.append(new DataLoader(http://server/id.php", {name:"get_id", format:"text"}));

function serverAnswer(e:LoaderEvent):void {
// id.php
 echo "123456";
Link to comment
Share on other sites

Yeah, at first glance I would assume that would work.

Are you getting errors?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.