Linking a flash menu

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/ to see what I mean

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

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

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

With the script i can figure it out

thnx

<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

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??

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


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

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

-Tom

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

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

:stuck_out_tongue:

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/ to see what kind of menu I got. maybe it will tell you more

Thnx

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!

:stuck_out_tongue:

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

Thanx to you all

It works!!! :slight_smile:

Greetz @lien