A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: using POST

  1. #1
    Senior Member Boombanguk's Avatar
    Join Date
    Jun 2000
    Posts
    1,194

    using POST

    Hi,(posting again as it seems a simple problem??)

    using MX.

    I've got this line of code, which should be sending a variable (called searchname) to a html page to use in a search function, but its sending the variable name, and not the actual value contained inside the variable, I've just taken this straight from html, what am I doing wrong??

    getURL("http://www.website.co.uk/folder.asp?ddr=option&search=searchname", "_blank", "POST");
    }

    thanks for any help.

    boombanguk.

  2. #2
    Mike Haverstock
    Join Date
    Dec 2001
    Posts
    167
    Code:
    getURL("http://www.website.co.uk/folder.asp?ddr=option&search=searchname", "_blank", "POST");
    }
    should probably be:
    Code:
    getURL("http://www.website.co.uk/folder.asp?ddr="+option+"&search="+searchname, "_blank", "POST");
    }
    [code]This is using the "
    Code:
    " feature

  3. #3
    Senior Member Boombanguk's Avatar
    Join Date
    Jun 2000
    Posts
    1,194
    It does work, but only when the .swf is in a html page, not when I just run the .swf, any ideas why that is??

    thanks

    boombanguk

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