# Linking to HTML Frames

**URL:** <https://forum.kirupa.com/t/linking-to-html-frames/211914>\
**Category:** Uncategorized\
**Created:** [January 6, 2007, 12:02pm UTC](https://forum.kirupa.com/t/linking-to-html-frames/211914 "2007-01-06T12:02:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cresp](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@cresp](https://forum.kirupa.com/u/cresp)\
**Post date:** [January 6, 2007, 12:02pm UTC](https://forum.kirupa.com/t/linking-to-html-frames/211914/1 "2007-01-06T12:02:46Z")

</div>

Hi there,

I’ve done a search on this, no luck.  
I’m trying to link a Flash button to a html page in the right hand frame of my frameset, titled “mainFrame”. I’m using the following code:

on (release) {  
getURL (“02.html”,“mainFrame”);  
}

How do I stop “02.html” appearing in a new window?

Many thanks,

c
