
10-01-2004, 04:11 PM
|
|
Registered User
|
|
Join Date: Oct 2004
Location: England
Posts: 1
|
|
Getting flash links to work with html frames.
Hi folks,
Heres my question:
I've set up a flash file (which is going to be a menu bar), with all the buttons set up. However when i click the button it opens up the url in a new window.
Is there a way to get it so the linked url opens up in a different html frame?
|

10-02-2004, 06:34 PM
|
 |
Administrator
|
|
Join Date: Dec 2001
Location: Atlanta, Georgia, USA
Posts: 1,034
|
|
|
got a url for us to view?
|

10-06-2004, 01:21 PM
|
 |
Registered User
|
|
Join Date: Jul 2004
Location: Amsterdam, Netherlands
Posts: 33
|
|
|
link in frame
Just do this:
on (release) {
getURL("your url.htm", "nameofyourframe");
}
That works. If you don't use the advanced mode, you can do this:
actions: browser/network>get url
you then fill out the name/location of the htm(l) page you want to load, and in 'window', you fill out the name of the frame (top, right or whatever name you gave it).
Success! 
__________________
Mapie
|

11-05-2004, 10:48 AM
|
 |
Registered User
|
|
Join Date: Nov 2004
Location: Israel
Posts: 2
|
|
Since my problem is linked to this subject, I thought it better to post here instead of opening a new discussion.
I have pages similar to the one 'Outrider' described. When the link in the flash menu goes to a local page (one I have on my computer), the page is opened ok on the other frame. The same is when I link to a page on the internet.
The problem, is that after I click on a link to a page on the internet, the links to local files don't work!  All the links that go to internet sites work fine when this happens, but all the local ones don't. If I go 'Back' on the other frame, so I see the last local page I was on, the links to local pages work again.
Any suggestions? If you need more details, let me know.
|

11-07-2004, 08:56 AM
|
 |
Moderator
|
|
Join Date: Jan 2002
Location: Lebanon, PA
Posts: 357
|
|
Quote:
Originally posted by good_2b_wild
Since my problem is linked to this subject, I thought it better to post here instead of opening a new discussion.
I have pages similar to the one 'Outrider' described. When the link in the flash menu goes to a local page (one I have on my computer), the page is opened ok on the other frame. The same is when I link to a page on the internet.
The problem, is that after I click on a link to a page on the internet, the links to local files don't work! All the links that go to internet sites work fine when this happens, but all the local ones don't. If I go 'Back' on the other frame, so I see the last local page I was on, the links to local pages work again. 
Any suggestions? If you need more details, let me know.
|
Can you post a link?
__________________
Tom Thurgo
my future is coming on
|

11-16-2004, 12:25 PM
|
 |
Registered User
|
|
Join Date: Nov 2004
Location: Israel
Posts: 2
|
|
|
I'm sorry I took this long to reply.
As for the link, I don't have it on the web, since:
1. The site is for a local network, and will not be posted on the net.
2. Even if I did post it on the net, it wouldn't solve the problem I'm having. the reason, is that in this case ALL the pages will be linked to pages on the net, and the problem I'm having is linking to an internet page and then back to a Local page! :clueless
If you want to test this, the best I can say is this:
Make 4 files:
1. Frame set (index.htm) - Top (or bottom) and Main.
2. Top page (top.htm) - Flash menu (will be loaded in the Top frame).
3. Start (start.htm) - HTML Start page (will be loaded in the Main frame).
4. Local HTML (local.htm) - test page
In the top.htm page, enter a Flash menu with 3 buttons - the 1st brings back the start.htm page, 2nd to the HTML test page (local.htm), and the 3rd to cnn.com (or any other internet site). Each button will be opened on the 'Main' frame.
Then, load the index.htm page. When you click between the 'Start' and 'Local' buttons it will load each page on the 'Main' frame. When you click on the 'CNN' button it again will load the page on the 'Main' frame. However, and this is my problem, when you then click on the 'Local' or 'Start' button neither will load again. :bang:
I hope you can test this and let me know what I can do to resolve this.
Thanks
|

11-17-2006, 09:01 PM
|
|
Registered User
|
|
Join Date: Nov 2006
Posts: 1
|
|
Quote:
|
Originally Posted by mapie
Just do this:
on (release) {
getURL("your url.htm", "nameofyourframe");
}
That works. If you don't use the advanced mode, you can do this:
actions: browser/network>get url
you then fill out the name/location of the htm(l) page you want to load, and in 'window', you fill out the name of the frame (top, right or whatever name you gave it).
Success! 
|
Sorry to bump this up...
but it wont work for me... 
i've been searching and trying for 2days now...all have the same answer..but why its not work for me??
If i do as what it suggest, it will OPEN A NEW WINDOW to display the html i set, instead of display it in the targeted frame..
Can someone please help me here??
thank you....
|

05-09-2007, 09:14 PM
|
|
Registered User
|
|
Join Date: May 2007
Posts: 1
|
|
flash buttons working with html frames
I'm having the exact same problem, my menu is in one frame name="menu"
and want the buttons to open the links in another frame which is named "main"
but it doesn't work by simply typing the name of the fame in the window box, it just opens up in a new tab/window
mc
|

07-30-2007, 11:38 PM
|
|
Registered User
|
|
Join Date: Jul 2007
Posts: 1
|
|
|
I am having the same problem as well. I am using Flash 8 and setting the actionscript properly, but it still opens in a new window. I have checked and double checked that there are no typos or anything like that, but nothing I do seems to work.
I do the HTML by hand, but I have tried some tips I've read online in Dreamweaver, but still nothing works. I regularly use frames in my HTML, but I am still fairly new to Flash.
|

10-31-2007, 02:54 AM
|
|
Registered User
|
|
Join Date: Oct 2007
Posts: 1
|
|
|
Load html in frames from flash buttons
Hi there,
I've had the same problem and I've finally found out the way.
on (release) {
getURL("page.html", "mainFrame", "POST");
}
Good luck! 
|

11-19-2007, 01:07 PM
|
|
Registered User
|
|
Join Date: Nov 2007
Posts: 1
|
|
|
no worky
no dudes,
I'm running Flash MX on my Mac, and that code suggested above is no good. this is balls - does ANYONE have a solution? I type up my own HTML, so I don't deal with all this dreamweaver junk. It just opens up a new window... like as if it were to be "_blank" - but it's clearly not.
thanks,
Sim
|

11-23-2007, 05:27 PM
|
|
Registered User
|
|
Join Date: Nov 2007
Posts: 1
|
|
|
we really need to solve this one!
Hi, i'm also having the same problem.
interestingly it seems that on windows my content opens in the correct frame. however if i run the same webpage on a different computer running ubuntu linux, the content opens in a new window.
the problem only occurs with my flash buttons. the html links work correctly on both operating systems.
|

12-16-2007, 04:27 AM
|
|
Registered User
|
|
Join Date: Dec 2007
Posts: 1
|
|
|
Got it to work, don't know how really but here
Hi everyone with this flash crazy problem with frames, every solution people keep giving is not a bad answer its just not addressing the right issue. Whats wrong is the dreamweaver code for the frames your loading your flash and content into.
After messing around for days and hours, i finally got it to work, here is my code for my frameset
<frameset rows="231,*" cols="*" frameborder="no" border="0" framespacing="0">
<frame src="navbarframe.html" name="topFrame" scrolling="NO" marginwidth="-5" marginheight="-5" >
<frame name="main" src="home.html">
</frameset>
<noframes><body>
</body>
</noframes></html>
As you can see I removed alot of useless code from the "main" frame, and now everything works all of a sudden. Its also possible that I did not have the noframes code before which might have had an effect. Give it a shot, I hope this helps you guys cause it drove me nuts and I'm not sure I have a real solution, only thing I know is that theres some small details that screw up the code. Best of luck!
|
| Thread Tools |
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:48 PM.
|
|
|