Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

frames&flash

Status
Not open for further replies.

koquito

IS-IT--Management
Jun 17, 2002
760
US
Im using dreamweaver , i made two frames, in one of them (left) i made a table with flash buttons inside the cells. What i want to do is on the click of those buttons , open different pages on the right frame. UNtil now, the only thing i get is open the pages i want , but on the same frame the buttons are ...IS there a way to do this using flash and/or dreamweaver? i mean on the event of the click of a flash-made button located in the left frame of a webpage, open a new web page on the target frame(in this case the right frame)?
Thanks for any help...
 
Are the buttons on the same layer as the page you want them to navigate to? If the are, try to put the buttons on one layer, and the page you want them to go to on anther layer.
P.S. The frames of both layers can't overlap each other, or they will probabl show up on the screen together.
 
well actually what i ddi was this...
i made the buttons, lets say for example just one...used the getURL action and assigned for example yahoo.com..so when i click te button the web page yahoo.com opens.that part is ok....but using dreamweaver i create a page with two frames one on the left and the other on the right.On the left i made a table and in one cell i insert that fasl-made button (button.swf), so you can see a table on the left pane of the page and if u click on the button you should go to yahoo on the right pane, but it never happened.It opens the page on the same pane (on the right) the button is.
If i make the hole thig with flash, i undersatnd that using layers is an option. but im using dreamweaver and flash at the same time in one page. And unfortunately the flash content is in a different pane(left frame) than where i want the action to take place(the right pane or frame).
Do you undersatnd what im trying to do?
Thanks for your answer
 
It easy to do just that in an ordinary frameset. Don't know (and don't really want to know!) how Dreamweaver does it but doing in Flash alone is as easy as setting up your frameset, naming both frames (leftFrame and mainFrame, for example!), and then in the .swf embedded in the leftFrame to use something like the following...
Code:
on (press){
getURL("[URL unfurl="true"]http://www.yahoo.com/",[/URL] "mainFrame")
}
mainFrame being the targeted frame's exact name.
If by looking at the html outputed by Dreamweaver, you can determine what exact name was given to your right frame, you could then alter your Flash button's script to reflect that exact same frame name, and it should work!

Worst case you can allways check & ask on the Dreamweaver forum248. Regards,

new.gif
 
thanks oldnewbie....i found the answer my self yesterday before reading yours ..it took me two days to find the same answer you gave me in one second...Thaks a lot ...that was exactly what i needed to do, now i have it working the way i wanted....
Thank you..thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top