# Windows and buttons

**URL:** <https://forum.kirupa.com/t/windows-and-buttons/6069>\
**Category:** Uncategorized\
**Created:** [September 28, 2002, 4:35pm UTC](https://forum.kirupa.com/t/windows-and-buttons/6069 "2002-09-28T16:35:06Z")\
**Posts on this page:** 1\
**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, 4:35pm UTC](https://forum.kirupa.com/t/windows-and-buttons/6069/1 "2002-09-28T16:35:06Z")

</div>

How do I program a rectangualr button when clicked opens a new window. I guess onunloading the new window or receiving a new window to uonload a button like this page  
[http://www.bonusicon.da.ru](http://www.bonusicon.da.ru)

The rectangular buttons show as someone clicks on link from the main page that loads in the treasure chest. So how would I create a flash program from the first window to onload the rectangular buttons that say go to step 1.Step 2 etc.
