posting from flash to php no reult in text box
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: posting from flash to php no reult in text box

  1. #1
    Junior Member
    Join Date
    Feb 2008
    Posts
    4

    posting from flash to php no reult in text box

    hi i have two textboxes on stag they have the instance name"subjectTxt". and returnTextBox.The subjectTxt is were th name is inputted. i am checking for the name "dan" in he php file. Just to see if my result from flash has been posted. Im not getting any results in returnTextBox

    cheers

    send_btn.onRelease = function() {
    my_vars = new LoadVars();
    //input text box
    my_vars.subject = subjectTxt.text;
    my_vars.sendAndLoad("http://localhost/file.php", my_vars, "POST");
    //trace th name subbmited
    trace(subjectTxt.text);

    }
    // return results from php file
    returnTextBox.text = this.returnResposeFromPhp






    <?php

    $fromFlash = $_POST["subject"];

    if($fromFlash == "name"){
    echo "&returnResposeFromPhp=welldone";
    }


    ?>

  2. #2
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,035
    Hi,

    Hello Hansolo, you can find the answers you require at your AS.org original posts.here

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width


HTML5 Development Center

Poll by Flashkit.com