PDA

View Full Version : Newbie Question about Flash and Dreamweaver


cablecharlz
02-08-2002, 05:27 AM
first off i'm a complete flash newbie so i'm sori if this is a stupid question

ok here's my situation

i have 3 frames in dreamweaver
lets say..frame1 has a flash file...and in there there is a button
i was wondering, how to make it sot hat when i click on the button
it changes the page of another frame..but not the current frame, or the whole frame

here is my..."project" rite now



i want it so that when i click "home", it changes the frame in the middle, not the whole page

thx for readin thishere is the link (http://charles.mutq.com/CindiaLaw.com)

Jesse
02-08-2002, 06:02 AM
Use GetURL and put the name of the target frame in the Window box:
GetURL(“file.htm”,”target_frame);

cablecharlz
02-08-2002, 06:10 AM
the name of the target frame....whats an example on one?
i dun reli get what i would type in

Jesse
02-08-2002, 06:22 AM
The link your provided doesn't work. If you give me a working link to the frameset I can help you out.

cablecharlz
02-08-2002, 06:28 AM
i tried both

mainframe
and
main_frame

nothing happens
when i click the button
when i input that

Jesse
02-08-2002, 06:51 AM
I can't help without seeing the HTML source to the frameset which has the frame names in it.

cablecharlz
02-08-2002, 06:52 AM
here is the link to the site (http://charles.mutq.com/cindialaw.htm)

the home button is already made
but i can' get it to work with the mainframe

Jesse
02-08-2002, 07:02 AM
OK you have three frames: leftFrame , topFrame and mainFrame . All you need to do is pop one of those in this code:
getURL("your_file.html","frame_name"); // replace frame_name with one of the others, leave the quotes

cablecharlz
02-08-2002, 07:19 AM
on (release) {
getURL (“http://www.ign.com”, ”mainFrame");
}


this is what i have
whats wrong with it?
cause it stil does't work

sori for all the trouble :(

Jesse
02-08-2002, 07:25 AM
Type it out manually. If you copied it from my post above it's prolly using those stupid MS Word quotations instead of standard quotations. Notice that yours are on an angle as opposed to thses: " " " " " ... If that is the problem I'm sorry, I generally type my code up in IE but I had Word open.

cablecharlz
02-08-2002, 07:53 AM
oooooo

alrite THX :) :) :D