# New windows and flash buttons

**URL:** https://forum.kirupa.com/t/new-windows-and-flash-buttons/6037
**Category:** Uncategorized
**Created:** [September 28, 2002, 1:50am UTC](https://forum.kirupa.com/t/new-windows-and-flash-buttons/6037 "2002-09-28T01:50:36Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![rrose](https://avatars.discourse-cdn.com/v4/letter/r/eb9ed0/32.png) [@rrose](https://forum.kirupa.com/u/rrose)
#### Post date: [September 28, 2002, 1:50am UTC](https://forum.kirupa.com/t/new-windows-and-flash-buttons/6037/1 "2002-09-28T01:50:36Z")

</div>

I have a searchpage and I want to onunload a button from this.

I have the url to the searchpage and I want onunload a button. And with every new window, I want to onunload a button. Is this possible with flash.

---

<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: [September 28, 2002, 11:40am UTC](https://forum.kirupa.com/t/new-windows-and-flash-buttons/6037/2 "2002-09-28T11:40:00Z")

</div>

Hey rrose,  
I move this thread to Flash MX. You may have a better chance of having your question answered here 😉

Cheers!  
Kirupa :evil:

---

<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: [September 28, 2002, 10:52pm UTC](https://forum.kirupa.com/t/new-windows-and-flash-buttons/6037/3 "2002-09-28T22:52:41Z")

</div>

I don’t understand your question. What’s onunload?

pom :asian:

---

<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: [September 29, 2002, 2:11am UTC](https://forum.kirupa.com/t/new-windows-and-flash-buttons/6037/4 "2002-09-29T02:11:44Z")

</div>

After the page gets clicked then I want a button to show to tell them to click again and have some type of command to unonload another button or to have it show up after the page gets clicked.

Do you know of anything that I can do in Flash that will do this?

---

<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: [September 29, 2002, 6:57am UTC](https://forum.kirupa.com/t/new-windows-and-flash-buttons/6037/5 "2002-09-29T06:57:05Z")

</div>

I’m confused.

> \*Originally posted by rrose \*  
> **After the page gets clicked**  
> What do you mean, click a page? Click a button? Or click anywhere?  
> **have some type of command to unonload another button or to have it show up after the page gets clicked.**  
> Can you explain what you mean by unonload or onunload?

pom :asian:

---

<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: [September 29, 2002, 2:34pm UTC](https://forum.kirupa.com/t/new-windows-and-flash-buttons/6037/6 "2002-09-29T14:34:17Z")

</div>

Okay. If you go to [http://people.txucom.net/kicker/leftframe.html](http://people.txucom.net/kicker/leftframe.html)  
You will see a input box. If you type a search you get a new page.

How would i write a function in the program in expert mode that says when the new page opens to go to the next frame in the movie. I am going to put rectangular button that will be visible for the next frame in the movie when the new page opens The button will be invisible until the new page loads.

I am going to tell them to keep the new window open and click again and a new page will load and then make a button that is invisible, visible and go to the next step.

For the button J. Harlequinn says I am sorry you want the clicking of the button to make the first button disappear and the second one appear. Just add to the button some code to advance the timeline to where the second button is visible or set secondButton.\_visible=true;

* * *

for the new page J. Harlequinn says  
getURL(“[http://www.newpage.com](http://www.newpage.com)”,"\_blank");

But I will tell people to keep the search page open and I am not going to program the get url to the second button. I am going to add this to a function for the visibility of the second rectangular button. Sort of like this page [http://www.bonusicon.da.ru](http://www.bonusicon.da.ru)  
You don’t have to actually perform a search on this page. I am using this page as an example.For your sake.

So the buttons appear as a treasure chest that will have a url to open the [http://people.txucom.net/kicker/leftframe](http://people.txucom.net/kicker/leftframe) movie. And then hold the visibility of the rectangualr button until the search is performed and a new page is opened from the result of the input in the searchbox. And then the visibility of the first rectangular button will show saying proceed to step 2. Then another button will show. And a function for the second rectangular button will be true if another new page is accessed and there will be another newpage function for the visibility of the second rectangular button.

Until done

I am not familiar with rewriting the search page of someone else. But it seems [da.ru](http://da.ru) has rewritten the search engine page to match her own metatags.  
I will have to study more. It would make it easier to write if window open"[http://people.txucom.net/leftframe/search](http://people.txucom.net/leftframe/search) results  
What I am saying when you go to the search results page the title bar reads [http://www.bonusicon.da.ru](http://www.bonusicon.da.ru)  
Somehow she was able to incorporate the search engine into her own website. I guess it would be easier to write a function this way if window.open"[http://www.bonusicon.da.ru/seek](http://www.bonusicon.da.ru/seek)"  
go play(2)  
for the frame of my movie.  
until then I will have to write if window open"[http://newpage.html](http://newpage.html)"  
go play (2)

Oh well

Thanks for writing back.

Yet I never wrote functions in expert mode for the visibility of buttons. Do you know of any tutorials that go into explaining this on the web?
