1 Reply Latest reply on Jan 31, 2008 6:35 AM by robdillon

    Why is nothing returned to Flash, please?

    SteveH59 Level 1

      I have a simple AS (2) script which sends variables to an ASP file, but does not get a response back:

      on (release) {


      //when the server responds

      this.onData = function() {

      if(this.output=='sent') {

      status_txt = 'Thank You <%= name %>';

      } else {

      //if not

      status_txt = 'Sorry, there is a system error';


      The form is successfully sent and stored in a database, but I cannot tell from my Flash site that it has been sent successfully. The dynamic text box (status_txt is its instance name) does not show anything.

      This is my ASP:

      If Err.Number <> 0 then
      Response.Write "&output=fail"
      Response.Write "&output=sent"
      End if

      Thank you for any help.