# Help sending dynamic text to ASP file

**URL:** <https://forum.kirupa.com/t/help-sending-dynamic-text-to-asp-file/256227>\
**Category:** flash\
**Created:** [April 1, 2008, 2:27am UTC](https://forum.kirupa.com/t/help-sending-dynamic-text-to-asp-file/256227 "2008-04-01T02:27:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jflint](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jflint/32/2115_2.png) [@jflint](https://forum.kirupa.com/u/jflint)\
**Post date:** [April 1, 2008, 2:27am UTC](https://forum.kirupa.com/t/help-sending-dynamic-text-to-asp-file/256227/1 "2008-04-01T02:27:20Z")

</div>

I have a flash file that contains an input text field and a submit button symbol. I need to capture what the user puts into this text field and send it to an asp page that will execute a search script. I used the source from this tutorial as my base: [http://www.kirupa.com/developer/actionscript/flash\_php\_email.htm](http://www.kirupa.com/developer/actionscript/flash_php_email.htm)

I can attach an FLA if needed, but it should be pretty simple. Here is the setup:

Inside a movie clip named “form”, I have a text field, set to input text, with “search” in the var property field.

On the search button, I have the following action:

```auto
on (release) {
form.loadVariables("searchtest.asp", "POST");
}

```

In the ASP page, I am trying to capture the value of the variable “search” by using:

```auto
Request.Form("search")

```

Am I on the right track here? Should I use “GET” and try to pull the value out of the query string?

Any help is greatly appreciated.
