| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Feb 2003
Location: Ireland
Posts: 12
|
I have an html page
It has three frames, top, left and right. theres a flash movie playing in the right frame. Inside this movie are URL's. When i click on a URL i want it to display in the same frame as the flash movie and not take over the whole page. this is the code im using, is it right? getURL("www.test.com", "_target"); any help greatly appreciated! cheers |
|
|
|
|
|
#2 |
|
done
Join Date: Jun 2001
Location: portland, or
Posts: 8,048
|
_target should be the 'name' you've given your frame tag that you want flash to load the url into.
__________________
tg --- what the hell was i thinking? |
|
|
|
|
|
|
|
|
#3 |
|
Me
|
getURL("www.test.com", "_target");
should be getURL("www.test.com", "_self"); - 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." |
|
|
|
|
|
#4 |
|
member
Join Date: Nov 2002
Location: uk
Posts: 428
|
don't forget the http:// at the start of the address
![]() |
|
|
|
|
|
#5 | |
|
Me
|
Quote:
Though if you're referring to a relative adress you can leave the http:// behind ActionScript Code:
- 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." |
|
|
|
|
|
|
#6 |
|
Registered User
Join Date: Feb 2003
Location: Ireland
Posts: 12
|
Thanks everybody, that worked fine.
|
|
|
|
|
|
#7 |
|
Registered User
Join Date: Aug 2007
Posts: 2
|
Sorry to active this topic again but I have a similar problem that I couldn't solve.
I made an html page with 2 frames: 1 column and 2 rows. When I open the html page, appears the swf menu on the top frame and an animated introduction (in a swf file too) on the bottom frame (like it suposed to be). But I want the menu change only the bottom frame to another swf file. How can I do it? The code I used doesn't work. When I click on the menu it opens me the file I want but in a new window. This is parte of the code on the html page: <table width="700" height="500" border="0" cellpadding="0" cellspacing="0" align="center"> <tr> <td width="700" height="150"><iframe src="menu.swf" marginWidth=0 marginHeight=0 frameBorder=0 width="700" scrolling=no height=150></iframe></td> </tr> <tr> <td width="700" height="350"><iframe src="intro.swf" marginWidth=0 marginHeight=0 name="conteudo" frameBorder=0 width="700" scrolling=no height=350></iframe></td> </tr> </table> This is the code I have on the buttons: on(release) { getURL("info.swf", "conteudo"); } |
|
|
|
|
|
#8 |
|
Registered User
Join Date: Jun 2005
Posts: 3
|
Hallo everyone
i have the same problem please somebody bother i've a flash menu embedded as swf object to controll html content i have an iframe named "MainCont" and i want to change its contents from a button within the flash movie . i've tried getURL("myotherpage.html", "MainCont"); and getURL("myotherpage.html", target="MainCont"); but it loads on a new window. the only thing that works is getURL("myotherpage.html", "_self"); getURL("myotherpage.html", target="_self"); which is fine because i figured the syntax is OK but i want to load "myotherpage.html" on the iframe on the same page not have "myotherpage.html" substitute my whole page...!!!!! i've also tried it with simple frames with the same results PLEASEE HELP>>>! |
|
|
|
|
|
#9 |
|
Registered User
Join Date: Jun 2007
Posts: 6
|
It has to do with the Security settings of latest Flash player. The loading in target frame will work fine once uploaded to a host, but to make them work on your local machine, this is what you have to do:
Goto Publishing Settings for your movie, go under Flash Tab and change "Local Playback loop" to "access network only". |
|
|
|
|
|
#10 |
|
Registered User
Join Date: Jun 2005
Posts: 3
|
i'll try it
thanks a lot in advance.. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|