Go Back   HTMLCenter Web Development Forums > Web Design and Development > Graphics and Flash

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 10-01-2004, 04:11 PM
Registered User
 
Join Date: Oct 2004
Location: England
Posts: 1
Question 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?
Reply With Quote

  #2 (permalink)  
Old 10-02-2004, 06:34 PM
Allen's Avatar
Administrator
 
Join Date: Dec 2001
Location: Atlanta, Georgia, USA
Posts: 1,034
got a url for us to view?
Reply With Quote
  #3 (permalink)  
Old 10-06-2004, 01:21 PM
mapie's Avatar
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
Reply With Quote
  #4 (permalink)  
Old 11-05-2004, 10:48 AM
good_2b_wild's Avatar
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.
Reply With Quote
  #5 (permalink)  
Old 11-07-2004, 08:56 AM
tthurgo's Avatar
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
Reply With Quote
  #6 (permalink)  
Old 11-16-2004, 12:25 PM
good_2b_wild's Avatar
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
Reply With Quote
  #7 (permalink)  
Old 11-17-2006, 09:01 PM
ang ang is offline
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....
Reply With Quote
  #8 (permalink)  
Old 05-09-2007, 09:14 PM
Registered User
 
Join Date: May 2007
Posts: 1
Angry 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
Reply With Quote
  #9 (permalink)  
Old 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.
Reply With Quote
  #10 (permalink)  
Old 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!
Reply With Quote
  #11 (permalink)  
Old 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
Reply With Quote
  #12 (permalink)  
Old 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.
Reply With Quote
  #13 (permalink)  
Old 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!
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -5. The time now is 04:48 PM.

 
KickApps
Clicky Web Analytics


Subscribe to our feed | add to myYahoo!

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
© 1997-2007 HTMLCenter