Flash display php echo message?

Out of context: Reply #12

  • Started
  • Last post
  • 13 Responses
  • boobs0

    So I added this to my script, and the textfield stays blank!!

    private function messageSent(event:Event):void
    {

    //from QBN acvice
    var loader1:URLLoader = URLLoader(event.target);
    var request1:URLRequest = new URLRequest( "myForm.php" );
    loader1.addEventListener(Event.C... onComplete);
    loader1.load(request1);

    function onComplete(event:Event):void
    {
    txtInfo.text = loader1.data;
    };

    It doesn't seem to do a thing!

    }

View thread