Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Supporting Technologies > HTML and JavaScript

Reply
 
Thread Tools Rate Thread Display Modes
Old 09-18-2004, 01:20 PM   #1
okami
Registered User
 
Join Date: Sep 2004
Location: Singapore
Posts: 3
Send a message via MSN to okami
Exclamation flash n html frame

Hello guys... really need your help here. My sch project is due in two wks time and i haf a qn here. I have divided my html page layout to two columns. On the first columns, i put some flash buttons there. I want something like, when i click the buttons, the second column will display a html file. Wad am i goin to do??? Thanks!
okami is offline   Reply With Quote
Old 09-19-2004, 05:40 AM   #2
Cota
Super Moderator
 
Cota's Avatar
 
Join Date: Jul 2001
Location: NYC
Posts: 10,026
Default

This code will do it:

ActionScript Code:
on(release){ getURL("page.html","targetFrame"); }
__________________
Color Wars™ | (kul′ər wôrs) n. - Open conflict between factions. www.theColorWars.com

cota - www.chadworkman.com | http://shavedplatypus.com
occupation: designer | flash developer | server-side developer (php, asp, mssql, mysql)
Cota is offline   Reply With Quote
Old 09-19-2004, 12:02 PM   #3
Ruben
Me
 
Ruben's Avatar
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 3,510
Send a message via MSN to Ruben Send a message via Skype™ to Ruben
Default

Quote:
Originally Posted by Cota
This code will do it:

ActionScript Code:
on(release){ getURL("page.html","targetFrame"); }
....if you're using tables to seperate the page into 2 columns then you could use the <iframe>-tag, search for more info at w3schools

- Ruben
__________________
.
Originally Posted by MichaelxxOA
"He sounded like he knew which words he was going to use before he knew what he was going to say. I hate that shit."
Ruben is offline   Reply With Quote
Old 09-19-2004, 12:36 PM   #4
okami
Registered User
 
Join Date: Sep 2004
Location: Singapore
Posts: 3
Send a message via MSN to okami
Default

the "targetFrame " attribute refer to the one i named in html?
okami is offline   Reply With Quote
Old 09-19-2004, 12:41 PM   #5
Ruben
Me
 
Ruben's Avatar
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 3,510
Send a message via MSN to Ruben Send a message via Skype™ to Ruben
Default

Quote:
Originally Posted by okami
the "targetFrame " attribute refer to the one i named in html?
yup

HTML Code:
<frame src="somepage.html" name="targetFrame">
sorry for answering that one Cota

- Ruben
__________________
.
Originally Posted by MichaelxxOA
"He sounded like he knew which words he was going to use before he knew what he was going to say. I hate that shit."
Ruben is offline   Reply With Quote
Old 09-19-2004, 12:58 PM   #6
okami
Registered User
 
Join Date: Sep 2004
Location: Singapore
Posts: 3
Send a message via MSN to okami
Default

Thank you guys!!! i got it right finally haha
okami is offline   Reply With Quote
Old 09-19-2004, 01:00 PM   #7
Ruben
Me
 
Ruben's Avatar
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 3,510
Send a message via MSN to Ruben Send a message via Skype™ to Ruben
Default

Glad could help you out...

- Ruben
__________________
.
Originally Posted by MichaelxxOA
"He sounded like he knew which words he was going to use before he knew what he was going to say. I hate that shit."
Ruben is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:56 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.