# Help with target

**URL:** <https://forum.kirupa.com/t/help-with-target/3000>\
**Category:** Uncategorized\
**Created:** [February 17, 2002, 5:37pm UTC](https://forum.kirupa.com/t/help-with-target/3000 "2002-02-17T17:37:12Z")\
**Posts on this page:** 8\
**Page:** 1

<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:** [February 17, 2002, 5:37pm UTC](https://forum.kirupa.com/t/help-with-target/3000/1 "2002-02-17T17:37:12Z")

</div>

I am using a flash menu within a frames setup. What I want to happen is when they press the button in the flash menu within the bottom frame. the page is called into the upper frame and not its own window. Here is a sample of the code I am using  
onClipEvent (load) {  
&nbsp &nbsp &nbsp &nbsp jump = false;  
&nbsp &nbsp &nbsp &nbsp title = “About”;  
&nbsp &nbsp &nbsp &nbsp url = “\<a href=“[http://www.me.com](http://www.me.com)”;”\>[www.me.com](http://www.me.com)";\</a\>  
}  
I think I have to put target=\_main or something like that. Could someone help me out please. I am not the best at actionscript.

---

<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:** [February 17, 2002, 11:33pm UTC](https://forum.kirupa.com/t/help-with-target/3000/2 "2002-02-17T23:33:19Z")

</div>

Pleez someone help me…I am trying to work my way through it. What I need is a nudge in the right direction. So if someone can even give me a hint I would appreciate it

---

<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:** [February 18, 2002, 1:07am UTC](https://forum.kirupa.com/t/help-with-target/3000/3 "2002-02-18T01:07:43Z")

</div>

i don’t see the line which is meant to load the content. (?)

is onClipEvent(load) meant to do it? that’s not a command but an event handler. it means, when this clip loads, do everything in the curly brackets.

you’ll need a line something like:

getURL(“about.html”,“content”);

where “content” is the name of the frame to receive the url.

put that line in what ever event handler is suitable, probably a button.

---

<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:** [February 18, 2002, 1:14am UTC](https://forum.kirupa.com/t/help-with-target/3000/4 "2002-02-18T01:14:51Z")

</div>

Hey supra,  
Sorry, this is a little of topic, but long time no see! 🙂

---

<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:** [February 18, 2002, 1:23am UTC](https://forum.kirupa.com/t/help-with-target/3000/5 "2002-02-18T01:23:57Z")

</div>

Okay here is what I got.  
onClipEvent (mouseDown) {  
&nbsp &nbsp &nbsp &nbsp getURL (“index.htm”, “lower.htm”);}

When the button is pressed it still opens up the file in a new window and not in the specified HTML Frame(upper).  
I also tried it with using a simplified version of what I am trying to do  
From your standard button  
on (release) {  
&nbsp &nbsp &nbsp &nbsp getURL (“[www.implod.com](http://www.implod.com)”, “upper”);  
}  
UUUgh this is driving me nuts but I do not want to give up on my flash menu. Anymore suggestions??Anyone pleez

---

<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:** [February 18, 2002, 3:14am UTC](https://forum.kirupa.com/t/help-with-target/3000/6 "2002-02-18T03:14:28Z")

</div>

man i feel like a bonehead…i was calling for the file name in the getUrl command and not the frame name within the frameset. Someone even posted it for me. Man what frustration does to ones brain…Hey thanks for the advice and help. No wonder I did not get any posts, you guys must think I am a retard!!!..I am kinda smart…no really I am.

---

<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:** [February 18, 2002, 3:24am UTC](https://forum.kirupa.com/t/help-with-target/3000/7 "2002-02-18T03:24:19Z")

</div>

webshot - you needn’t feel bad, i can’t even count the number of hours i’ve spent trying to fix bugs which turn out to be spelling mistakes or the like.

kirupa - heya. yeah, i’ve been busy, busy, busy … up to my eyeballs in code. sometimes it’s nice to take a break and peruse the kirupa boards…

cheers.

---

<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:** [February 18, 2002, 6:25am UTC](https://forum.kirupa.com/t/help-with-target/3000/8 "2002-02-18T06:25:03Z")

</div>

I spent 12 hours just to find that I had misspelled something. It happens to all of us.

most of us were just away from the comps this week end which is more likely why you didn’t get a response. We reply to any and all questions… even “boneheaded” ones. 🙂
