# Flash navigation in HTML frames

**URL:** <https://forum.kirupa.com/t/flash-navigation-in-html-frames/185223>\
**Category:** flash\
**Created:** [April 11, 2006, 8:44pm UTC](https://forum.kirupa.com/t/flash-navigation-in-html-frames/185223 "2006-04-11T20:44:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BullocksTroy](https://avatars.discourse-cdn.com/v4/letter/b/ecc23a/32.png) [@BullocksTroy](https://forum.kirupa.com/u/BullocksTroy)\
**Post date:** [April 11, 2006, 8:44pm UTC](https://forum.kirupa.com/t/flash-navigation-in-html-frames/185223/1 "2006-04-11T20:44:55Z")

</div>

I want to place a Flash header in an HTML page with frames. I followed a tutorial from this site:  
[http://www.kirupa.com/developer/flash5/frames.htm](http://www.kirupa.com/developer/flash5/frames.htm)

I could not figure out how to apply it to my own page though, because it didn’t explain how to set up the HTML frames at all.  
I set up a frameset in Dreamweaver, so I have 3 frames, called “topframe”, “mainframe”, and “bottomframe”. In Flash, I applied the following action script to a button as the tutorial instructed:

on (release) {  
getURL(“affiliates.html”, “mainframe”);  
}

However, when I click on the button to go to “affiliates.html”, it opens in a new browser window instead of the main frame. what am i doing wrong??

---

<div class="post-metadata">

**Author:** ![xylitar](https://avatars.discourse-cdn.com/v4/letter/x/f19dbf/32.png) [@xylitar](https://forum.kirupa.com/u/xylitar)\
**Post date:** [April 12, 2006, 9:04am UTC](https://forum.kirupa.com/t/flash-navigation-in-html-frames/185223/2 "2006-04-12T09:04:48Z")

</div>

> [@BullocksTroy](#):
>
> I want to place a Flash header in an HTML page with frames. I followed a tutorial from this site:  
> [http://www.kirupa.com/developer/flash5/frames.htm](http://www.kirupa.com/developer/flash5/frames.htm)
> 
> I could not figure out how to apply it to my own page though, because it didn’t explain how to set up the HTML frames at all.  
> I set up a frameset in Dreamweaver, so I have 3 frames, called “topframe”, “mainframe”, and “bottomframe”. In Flash, I applied the following action script to a button as the tutorial instructed:
> 
> on (release) {  
> getURL(“affiliates.html”, “mainframe”);  
> }
> 
> However, when I click on the button to go to “affiliates.html”, it opens in a new browser window instead of the main frame. what am i doing wrong??

I think i tripped over that one before…  
although it was a long time ago…  
i believe, if i recall correctly, you had to check for capital letters…

not “mainframe”, but try “mainFrame”

hope it works…
