# Linking a flash menu

**URL:** <https://forum.kirupa.com/t/linking-a-flash-menu/8073>\
**Category:** programming\
**Created:** [November 13, 2002, 9:35am UTC](https://forum.kirupa.com/t/linking-a-flash-menu/8073 "2002-11-13T09:35:41Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alien1980](https://avatars.discourse-cdn.com/v4/letter/a/71e660/32.png) [@Alien1980](https://forum.kirupa.com/u/Alien1980)\
**Post date:** [November 13, 2002, 9:35am UTC](https://forum.kirupa.com/t/linking-a-flash-menu/8073/1 "2002-11-13T09:35:41Z")

</div>

Hi,

I have got a site with frames. On the left frame I imported a flash menu and now I want to link the items in that flash menu to the right frame so when clicked the information appears in the right frame.  
How do I do that???

check [http://www.geocities.com/alien19802002/](http://www.geocities.com/alien19802002/) to see what I mean

and this is what 1 have under the buttons for example:

on (release) {  
getURL (“[http://www.meerevents.nl](http://www.meerevents.nl)”,“rechts”);  
}

---

<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:** [November 13, 2002, 10:09am UTC](https://forum.kirupa.com/t/linking-a-flash-menu/8073/2 "2002-11-13T10:09:40Z")

</div>

hey  
if u make your menu and then import it into wotever ur makin ur site in i use dreamweaver as u can just insert the flash and it does the code for u but frontpage just put the code in and if in DW it will tell u where the page will be opened it will say main or \_self etc so change that 2 main and it will open in your right frame it should work i can give u the code but im at college so ill send it later

-Tom

---

<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:** [November 13, 2002, 10:50am UTC](https://forum.kirupa.com/t/linking-a-flash-menu/8073/3 "2002-11-13T10:50:12Z")

</div>

With the script i can figure it out

thnx

---

<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:** [November 13, 2002, 12:09pm UTC](https://forum.kirupa.com/t/linking-a-flash-menu/8073/4 "2002-11-13T12:09:53Z")

</div>

\<a target=“main” href="the page "\>

put that somewhere within it prob after it i am still at college so i aint sure i will try and get a better bit of code it depends wot u are using Frontpage dreamweaver or notepad or summet else

-Tom

---

<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:** [November 13, 2002, 12:12pm UTC](https://forum.kirupa.com/t/linking-a-flash-menu/8073/5 "2002-11-13T12:12:54Z")

</div>

Tom

I’m using Dreamweaver MX and Flash MX  
But what’s the script then??  
And do i give the target in Flash or in Dreamweaver??

---

<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:** [November 13, 2002, 12:12pm UTC](https://forum.kirupa.com/t/linking-a-flash-menu/8073/6 "2002-11-13T12:12:54Z")

</div>

ahhh i seem to have just linked that whole post oh well here u go

```auto

<a target="_NEW" href="url of link her"

```

as i say dont know where it goes really as im still at college

-Tom

---

<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:** [November 13, 2002, 12:15pm UTC](https://forum.kirupa.com/t/linking-a-flash-menu/8073/7 "2002-11-13T12:15:45Z")

</div>

oh for \*\*\*\* sake

\< a tar g e t=“main” h r e f=" " \>

as u can c there are a few spaces in it take em out and then do wot i sed a load of posts ago

also when u link in flash the button maybe have the window as main its eaier in normal mode it has a drop down thing just a brain wave

-Tom

---

<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:** [November 13, 2002, 12:51pm UTC](https://forum.kirupa.com/t/linking-a-flash-menu/8073/8 "2002-11-13T12:51:52Z")

</div>

Hey, if you dont get it to work, let me know, ill show you how to do it ok.

😛

---

<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:** [November 13, 2002, 12:56pm UTC](https://forum.kirupa.com/t/linking-a-flash-menu/8073/9 "2002-11-13T12:56:53Z")

</div>

Hi dave

No i don’t get to work  
I have no idea why it won’t work

Do i have to insert the script in flash or in dreamweaver??  
check [http://www.goecities.com/alien19802002/](http://www.goecities.com/alien19802002/) to see what kind of menu I got. maybe it will tell you more

Thnx

---

<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:** [November 13, 2002, 3:21pm UTC](https://forum.kirupa.com/t/linking-a-flash-menu/8073/10 "2002-11-13T15:21:41Z")

</div>

Ok, this is what i hope you have done.

You have two framesets. One on the left, with your flash menu, and one on your right, to show your html content.

The coding is done in Flash.

This is the coding you put on your buttons, ill explain the coding later:

on (release) {  
getURL(“yourfile.htm”, “framename”);  
}

ok, “yourfile.htm” is the name of the html page you want to open on the other frame.

the other thing, you must give the right frame a name, in dreamwaver.  
Lets just say you called your right frame “rightFrame”.

Lets make up a scenario.

When you press the button “horeca”, you want the “horeca” page to load up in the right frame.

So this would be the coding in your flash button:

on (release) {  
getURL(“horeca.htm”, “rightFrame”);  
}

Hope this helps!

Let me know!

Its 2.20 am here in Sydney, and im up!

😛

---

<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:** [November 13, 2002, 3:52pm UTC](https://forum.kirupa.com/t/linking-a-flash-menu/8073/11 "2002-11-13T15:52:27Z")

</div>

yeah thats the one dave if u still get stuck put actions into normal mode click get url then choose your target ie the frame and it will say on load so click where it say on load and put it on release and the name of the link then if it hasnt got the frame u want like main or right put it into expert by clickin in the top right and then edit it yourself

-Tom

---

<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:** [November 13, 2002, 10:20pm UTC](https://forum.kirupa.com/t/linking-a-flash-menu/8073/12 "2002-11-13T22:20:54Z")

</div>

Thanx to you all

It works!!! 🙂

Greetz @lien
