# Flash 5 ....flash in frames

**URL:** <https://forum.kirupa.com/t/flash-5-flash-in-frames/19773>\
**Category:** Uncategorized\
**Created:** [May 1, 2003, 1:53pm UTC](https://forum.kirupa.com/t/flash-5-flash-in-frames/19773 "2003-05-01T13:53:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gpdesigner](https://avatars.discourse-cdn.com/v4/letter/g/839c29/32.png) [@gpdesigner](https://forum.kirupa.com/u/gpdesigner)\
**Post date:** [May 1, 2003, 1:53pm UTC](https://forum.kirupa.com/t/flash-5-flash-in-frames/19773/1 "2003-05-01T13:53:41Z")

</div>

Hello All,  
just a quick question,  
can you target a framed site with a flash swf…? I am using a flash movie as a menu bar in a framed site, so far I can’t seem to target the main window… it will either replace the menu…(self, parent) or replace the entire page…  
any ideas…?  
Ralph

---

<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:** [May 2, 2003, 2:44am UTC](https://forum.kirupa.com/t/flash-5-flash-in-frames/19773/2 "2003-05-02T02:44:02Z")

</div>

Anyone can correct me if I am wrong but I think you can use the getURL function for each button in your menu and then in the textbox where it says “window” just type in “\_mainframe” or whatever it is called.

---

<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:** [May 2, 2003, 2:53am UTC](https://forum.kirupa.com/t/flash-5-flash-in-frames/19773/3 "2003-05-02T02:53:14Z")

</div>

That’s right, you basically apply a getURL action that targets the name of the frame. So if your frame is called “content” for example then you would apply this action to your button:[AS]on (release) {  
getURL(“[http://www.yoursite.com](http://www.yoursite.com)”, “content”);  
}  
[/AS]
