# Sending Data for Search Query

**URL:** <https://forum.kirupa.com/t/sending-data-for-search-query/198556>\
**Category:** flash\
**Created:** [August 26, 2006, 2:13am UTC](https://forum.kirupa.com/t/sending-data-for-search-query/198556 "2006-08-26T02:13:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![adamcgordon](https://avatars.discourse-cdn.com/v4/letter/a/439d5e/32.png) [@adamcgordon](https://forum.kirupa.com/u/adamcgordon)\
**Post date:** [August 26, 2006, 2:13am UTC](https://forum.kirupa.com/t/sending-data-for-search-query/198556/1 "2006-08-26T02:13:53Z")

</div>

Hi,

I’m trying to create a search box inside a flash file for one of my sites. Currently the search works as html. I was told that it will work if in Flash.

I created an input text box and a button. Grouped them together as a clip. Then placed the following code on the button. Nothing happens when I hit the button. I tried using “GET” as well.

on (release) {  
loadVariables(“[http://www.julesseltzer.com/sessearch.php?q=searchquery](http://www.julesseltzer.com/sessearch.php?q=searchquery)”, “POST”);  
}

The address with the q=searchquery is what the company who makes the search engine said to you. Any help would be apprecieated.

Adam
