# I created an Atomz.com search in Flash!

**URL:** <https://forum.kirupa.com/t/i-created-an-atomz-com-search-in-flash/2515>\
**Category:** Uncategorized\
**Created:** [March 22, 2002, 5:29pm UTC](https://forum.kirupa.com/t/i-created-an-atomz-com-search-in-flash/2515 "2002-03-22T17:29:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 22, 2002, 5:29pm UTC](https://forum.kirupa.com/t/i-created-an-atomz-com-search-in-flash/2515/1 "2002-03-22T17:29:27Z")

</div>

Hi,  
Okay, I think I had a very lucky breakthrough. Download the FLA from "\<a href=“[http://www.hurricaneeye.com/NisSearch.zip"."](http://www.hurricaneeye.com/NisSearch.zip%22.%22)\>[www.hurricaneeye.com/NisSearch.zip](http://www.hurricaneeye.com/NisSearch.zip)”.\</a\> What I did was that once the text input field and the button were created, take your [Atomz.com](http://Atomz.com) code and switch the two values of “sp-”.

The [Atomz.com](http://Atomz.com) code for HTML is :

(!-- Atomz Search HTML for [timesjlt.com](http://timesjlt.com) --)  
(form method=“get” action="\<a href=“[http://search.atomz.com/search/")"](http://search.atomz.com/search/%22)%22)\>[search.atomz.com/search/](http://search.atomz.com/search/)”)\</a\>  
(input size=15 name=“sp-q”)(br)  
(input type=submit value=“Search”)  
(input type=hidden name=“sp-a” value=“sp1001cc56”)  
(input type=hidden name=“sp-f” value=“iso-8859-1”)  
(/form)

Now, when you type in the search in HTML, the results page link address (If I search for \*\*\*\*) has a code that looks like this:

[search.atomz.com/search/?..sp1001cc56](http://search.atomz.com/search/?sp-q= **** &sp-a=sp1001cc56)

Just switch the two values of “sp-” into this:

[search.atomz.com/search/?..&sp-q=\*\*\*\*](http://search.atomz.com/search/?sp-a=sp1001cc56&sp-q= **** )

The “GetURL” function should be your [Atomz.com](http://Atomz.com) search code like this:

[search.atomz.com/search/?..&sp-q=\*\*\*\*](http://search.atomz.com/search/?sp-a=sp1001cc56&sp-q= **** )

Where “\*\*\*\*” will be your input.

Now the only problem I faced, if you look at my FLA, is that my text field input didn’t get added into the “GetURL” function. Which is why when I type in a search and click go, it opens up a browser and tries to get the results, but without the input. There was just a “?” sign.

Now I’m sure one of guys out there can help me out here, but how do I make the text field input part of the “GetURL” function? Again, explain this like I’m a 9 year old, I’m just too much of a beginner at this 🙂

Nischint

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 22, 2002, 6:15pm UTC](https://forum.kirupa.com/t/i-created-an-atomz-com-search-in-flash/2515/2 "2002-03-22T18:15:33Z")

</div>

Name your input field “input”.  
Put this on your button, it works!

on (release) {  
fullUrl = “[http://search.atomz.com/search/?sp-a=sp1001cc56&sp-q=](http://search.atomz.com/search/?sp-a=sp1001cc56&sp-q=)”+input;  
getURL (fullUrl, “\_self”);  
}

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 22, 2002, 8:41pm UTC](https://forum.kirupa.com/t/i-created-an-atomz-com-search-in-flash/2515/3 "2002-03-22T20:41:38Z")

</div>

Hey man,

Thanks a lot, it finally works 🙂

Kirupa, you might wanna check this out 🙂
