# Targetting frames with getURL?

**URL:** <https://forum.kirupa.com/t/targetting-frames-with-geturl/114926>\
**Category:** Uncategorized\
**Created:** [July 3, 2004, 4:38am UTC](https://forum.kirupa.com/t/targetting-frames-with-geturl/114926 "2004-07-03T04:38:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![princexcharles](https://avatars.discourse-cdn.com/v4/letter/p/3ab097/32.png) [@princexcharles](https://forum.kirupa.com/u/princexcharles)\
**Post date:** [July 3, 2004, 4:38am UTC](https://forum.kirupa.com/t/targetting-frames-with-geturl/114926/1 "2004-07-03T04:38:32Z")

</div>

i have a link in a flash and i’m putting it in my site which has framesets. thing is… i have a link in the flash but i want it to target a particular frame? how to 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:** [July 3, 2004, 5:55am UTC](https://forum.kirupa.com/t/targetting-frames-with-geturl/114926/2 "2004-07-03T05:55:10Z")

</div>

When you did your frameset in HTML, you gave each frame a name. use that name as your target in getURL. I use frames on some of my sites and have to use it sometimes.

```auto

//we'll say your main window is called 'soup'.
//I'm bad with making up variable names...
on(release){
getURL("secondpage.html","soup");
}

```

---

<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:** [July 3, 2004, 5:56am UTC](https://forum.kirupa.com/t/targetting-frames-with-geturl/114926/3 "2004-07-03T05:56:09Z")

</div>

I don’t mind your variable names, they’re very creative ;, plus you made it very simple to understand

---

<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:** [July 3, 2004, 6:00am UTC](https://forum.kirupa.com/t/targetting-frames-with-geturl/114926/4 "2004-07-03T06:00:34Z")

</div>

Thanx BP.

---

<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:** [July 4, 2004, 12:08am UTC](https://forum.kirupa.com/t/targetting-frames-with-geturl/114926/5 "2004-07-04T00:08:04Z")

</div>

wait, which name, the name of the html file or the name of the frame in relation to the frameset? cuz im using dreamweaver so it makes things a bit easier but itwhen you do a frameset it allows you to target frames like "topframe, “topframe2”, “main” and stuff. So say the page in my main frame is called “Home.htm”, what do i put as my target, “Home”, or “Main”?

---

<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:** [July 4, 2004, 4:36am UTC](https://forum.kirupa.com/t/targetting-frames-with-geturl/114926/6 "2004-07-04T04:36:53Z")

</div>

The name of the frame that you want it to load into.

---

<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:** [July 4, 2004, 9:23am UTC](https://forum.kirupa.com/t/targetting-frames-with-geturl/114926/7 "2004-07-04T09:23:57Z")

</div>

> [@princexcharles](#):
>
> name of the frame in relation to the frameset? cuz im using dreamweaver so it makes things a bit easier but itwhen you do a \*\*frameset it allows you to target frames like "topframe, “topframe2”, “main” \*\*and stuff.

Yes. “Main” is your answer. You got it.
