Linking To Html Frame
The script below will open a web page in a popup, however I need it to open a page in an html frame. How can this be done?var labels:Array = new Array("web attack", "Macromedia", "ASP.Net");var links:Array = new Array("http://www.webattack.com", "http://www.macromedia.com", "http://www.asp.net");for (var i=0; i<labels.length; i++) { _root.myCombo.addItem({label: labels[i], data: links[i]}); }var obj:Object = new Object();obj.change = function (evt){ selectedLab = evt.target.selectedItem trace(selectedLab.label); trace(selectedLab.data);getURL(selectedLab.data,"_blank","POST"); }myCombo.addEventListener("change", obj);
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 11-09-2004, 02:54 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Linking To Html Frame
The script below will open a web page in a popup, however I need it to open a page in an html frame. How can this be done?
var labels:Array = new Array("web attack", "Macromedia", "ASP.Net");
var links:Array = new Array("http://www.webattack.com", "http://www.macromedia.com", "http://www.asp.net");
for (var i=0; i<labels.length; i++) {
_root.myCombo.addItem({label: labels[i],
data: links[i]});
}
var obj:Object = new Object();
obj.change = function (evt){
selectedLab = evt.target.selectedItem
trace(selectedLab.label);
trace(selectedLab.data);
getURL(selectedLab.data,"_blank","POST");
}
myCombo.addEventListener("change", obj);
HTML Frame Linking Business
ok, here is a nav 'bar'
my index is here,
the swf is on this left page,
and there is a main page,
i would like to know how to link my buttons to change the main page, and not have to reload the swf, JUST to change the main page.
eg:::so if i click on an experiment number, it would change the main page to that experiments' page, and the .swf will stay there
Linking To Html Page Then Going To A Certain Frame?
heres my problem. i want to link a button to an html file which has an swf embedded in it. i got that part so far. but i want the link ot go to a certain frame in the linked file; is that possible?
thanks for any help
Linking To Specific Frame From Html
I have embedded a flash file in the html code. I want to be able to specify which frame the timeline should start on when the swf file is loaded. what do i have to add to the html link?
thanx
Flash > Linking Button To A .html In Frame
is this possible?
say i have 2 frames,
frame1 = flash file (.swf)
frame2 = homepage.html
and in flash, i make a button that opens up bla.html in frame2?
if so what is the code to link a flash button to a frame, html page?
thanks
Button In Swish Max Linking To Html In Frame
okay guys, I'm a 22 yr old n00b.
and I really need some help bad.
I've got a flash menu I did with swish max
and the buttons in that flash file I want them to change a smaller frame below it.
I'm awful at this but to make it clear....
I made a website and all the slices in photoshop..
replaced the top photo with flash (which has the menu)
and I want the top half to change the one under it.
if any of you guy could help I'd be sure to give you lots of credit for helping the group I'm doing this for (ctrl/alt/delete)
thanks again guys.
Flash > Linking Button To A .html In Frame
is this possible?
say i have 2 frames,
frame1 = flash file (.swf)
frame2 = homepage.html
and in flash, i make a button that opens up bla.html in frame2?
if so what is the code to link a flash button to a frame, html page?
thanks
Linking To A Specific Frame In Flash From A Html Link?
Is is possible to have an html link - link to a specific frame of a flash movie embedded in an html page?
I have a web site that is mostly flash. However - I am also using mambo for content management for non-flash pages that are part of the same site. I can click a link in the flash movie that will take my browser to the specific html page, no problem - but is it possible to do the reverse - have the html link goto the flash?
For instance: I would like in the html page a link that goes specifically to 'frame 100' of the flash movie that loads the 'contact' flash form. Is it possible to link to a html page that contains the flash movie and have it goto that specific frame?
I would like this to be seamless in the same browser. Right now I have the flash popup the html pages for those specific links.
thanks!
Linking To A Specific Scene/frame In Flash From HTML
Hi,
I hope someone can help me as I've been googling all morning and have not been able to find out how to do this.
Basically I am editing a Flash template. Half of the site is in Flash and half just basic html. The flash part is made up of only one .swf file.
I am trying to create a basis <a href> link in HTML that will go to a specific scene and frame within that Flash file. So I can't just link to the .swf file because it will load at the beginning which I don't want.
It's probably quite easy and I apologize if that's the case. I'm learning Flash.
Thanks very much!
Amy
Linking To Specific Frame Number Or Label From An Html Page
Is it possible to link to a specific part of my flash movie from an html page. Is there any way to link to a frame number or label? The site is html based, but the intro/home page is flash. I don't want users to have to see the intro every time they go back to the home page from somewhere else within the site. Is there something that I can append to my link on my html page to make it go to a specific frame in the swf?
thanks!
[Flash8 & HTML] - Linking To Frame Just Doesn't Work. Need An Advise.
Hi
I can't make the Flash actionscript "getURL" link to an HTML Frame.
It's 3 days now that I'm Breaking my head trying to figure that out.
I'm working on:
- Mac PowerBook G4.
- with Flash 8.
- Dreamweaver for HTML.
- Browsers: FireFox & Safari.
I'm trying to create an HTML Frameset with 2 Frames ("up" and "down", in one of them ("up") there's a Flash navigation Panel and the other Frame ("down") is the target Frame to load the HTML's into.
I read a lot of tutorials (including the Kirupa-tutorial here: http://www.kirupa.com/developer/flash5/frames.htm), most of them says the same, but non of them works.
Whenever I target my file (in Flash, using "getURL") to "_self", "_top" or "_parent", it works just fine and loads the file to the right Frame.
Whenever I change the targeting to the Frame's Name ("up" or "down", as mentioned), it loads the file to a new browser window (which means, it doesn't find the target).
I assure you that it is not a problem of misspelling or so.
I followed the instructions of the Kirupa-tutorial, in the link above, step by step, and it didn't work too.
I'm attaching a zip file, containing 2 of my (not working) testing files.
If there's anyone here who can help, please check this out and see if you see any mistakes.
Or even just let me know if it works/doesn't work on your system.
THANKS A LOT
Sharonyc
GetURL - Linking To A Frame Within A Frame, HOW?
I am trying to use the getURL command to open a url that is a frame contained within another frame, eg: Button in frame X that when clicked will open the html in frame Z ONLY:
-----------------------
|....frame X..........|
-----------------------
|..frame.Y.|..frame.Z.|
-----------------------
- name "TopFrame"
- name "BottomFrame"
-inner frames of "Bottom Frame":
"LeftFrame" & "RightFrame"
I have a button in "frame X" and when clicked, would like the gerURL to open the html file in "frame Z".
Can someone inform me what you would put in the URL and WINDOWS box when Flash5 prompts you to enter the values?
I know it has something to do with including the wored "PARENT" but each time I try attempting this, it opens a completly new popup browse.
Any info would be greatly appreciated!
Darren
How Do I Connect Flash Menu (top Frame) To HTML Pages (bottom Frame)?
Hi,
I am new to flash/swish...
How do I connect the Flash menu system that I set up in Swish that will be embedded in the TOP frame to the standard HTML pages to be selected in the BOTTOM frame?
FYI: I am using Frontpage 2000 to create the frames and standard HTML pages
I can create the HTML page containing the Swish/Flash menu- no problem there. I just don't see the connection between the two. WHat's glueing them together. Is this accomplished with hyperlinks within FrontPage OR is this done from the Swish side and then seen by FrontPage after it is embedded?
Thanks to all who reply.
All the best.
Linking To A Frame
I have created a page that has a top frame (mainhead) and a lower frame (mainfoot). In the top frame there is a flash movie that has buttons to navigate the lower frame. I read the tutorial about linking to it but it didn't seem to work as the page opens in a new window rather than the lower frame. The parameters for the getURL action are:
URL: http://www.hotmail.com (I used this address just to test it)
Window: mainfoot
Variables: Don't Send
Any ideas? Thanks,
Jamie
Frame Linking
Hi,
I have to frames in a html document
one left frame (with my menu)
one mainframe (where the contents needs to be)
im using flash MX and cant make the buttons to open an page in the mainframe. hope u know what i mean.
i just dont know what to fill in the -- target="?" --
hope someone kan help !!! thx a lot
Linking To Other Frame ...
I have a website that is build on three frames ontop of eachother.
In the top frame i have the loggo
In the middle frame i have the flashmovie
And now I want to link a button from inside my flashmovie to an image that is placed in the third and lowest frame.
__________
| loggo |
|__________|
| flash |
|__________|
| image |
|__________|
Where can i get that script.? anything is helpfull.
(if its possible without making the hole page to reload, just the lowest)
Linking To A Frame
I'm trying to get the button to link to a frame called "body" in my web page... I've tried the following:
<a href="home.html" target="body"><OBJECT classid="clsid:blah blah"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
WIDTH=172 HEIGHT=129>
<PARAM NAME=movie VALUE="My Movie.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFE90A> <EMBED src="My Movie.swf" quality=high bgcolor=#FFE90A WIDTH=172 HEIGHT=129 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT></a></td>
but it doesn't seem to work...
I've also tried:
on (release) {
getURL ("home.html", "_body");
}
as an action tied to a button in the Flash program. This links the button to the Home page, but places it in it's own frame and not the body frame.
Can some one please point out where I'm going wrong???
Thanks.
M.
(ps I haven't combined the two pieces of code, I've either had the button of the <a href> tag, but not both...)
Linking To A Frame In A MC
I know how to link out of a MC to the main timeline using _parent, but I'm having issues going from the main timeline to a specific frame within the movie clip. (www.better-tools.com/website) I'd like to link the sitemap's subcategories (like FAQ on support) to the frame within the support MC. Right now I can only do a "go here" to the first frame of the movie clip because of how it's placed in the timeline. I tried doing a _parent.support.gotoandplay ("3") thingy but it didn't work.
Frame Linking
i have a normal html website with a frame in the middle
i made a flash menu for it and i want that every button
u prass will change the page inside the frame
the frame code:
<IFRAME src = "http://www.msn.com"
width = "400"
height = "100"
scrolling = "auto"
frameborder = "1"
>
[Your user agent does not support inline
frames or is currently configured not to
display frames.
However, you may visit
<A href="http://www.msn.com">
the related document.</A>]
</IFRAME>
Linking To A Frame From Another Mc
I want to have a back button that links to another mc.
Code:
on(release) {
_root.gotoAndStop("chapter1");
_root.chapter1MC.gotoAndStop("part2");
}
It doesn't work...
How shall i do it?
Help With Linking A Page Into A FRAME
hey guys/girls short and sweet:
I have a link I want to load into a frame called bottom.
I have tried geturl(http://www.whatever.com target=bottom)
doesnt work.. tried window= bottom or target=bottom.. still doesn't work... can anyone help????
-jason
Linking From Page To Frame
I need some help here...
I want to know how I can link from a button in a flash movie to a specific frame in another flash movie on another page.
Basicly what I want to happen is when the button is clicked, it'll load another page and start the flash movie on it on frame 40.
Linking To A Particular Frame In Another .swf File. How?
I've got many .swf files loaded into my site at any given time. I'm constantly updating everything and building it further and further out. One particular portion of the site I want to turn into a place where you can find all the latest stuff I've changed. So you can go directly there and look at all the new stuff and link straight to it. This means that I need to not only link to an .swf file but I need to tell it exactly what frame it should go to.
How can this be done?
I hope this made sense to someone, I feel like I'm rambling on.
thanks in advance,
Fletch
Linking To A Frame In Another Movie
I've only been working with Flash for the past couple of weeks oon a project (baptism by fire).
The problem that I have run into it that I have two movies that work like a slide show using a "next" and "back" button. The problem is that when I click the "bac" button in movie2, it goes to the beginning of movie1. However, I need it to actually go to the 14th frame in the timeline.
I have been able to target movie1 with the "LoadMovieNum" command, but haven't had any luck beyond that.
I have attached the samples files that I have been with.
Any assistance would be greatly apperciated.
Flash Frame Linking
I want to link "text" up to a specific frame, for example frame 1 contains the text that I want to link up, and I want to link it to say frame 40, when the text is clicked on it will jump to that frame.
I also want to revere this and link to frames all over the movie, if someone can post an example piece of action scrip and/or a flash movie that show me how to do it.
I would very much appreciate any help, Thanks in advance
Also if I wanted to turn a flash movie into a screen saver will I need to get additional software in order for me to turn the flash movie into a screen saver?
Linking To A Frame In A Movie
Is there any way I can call a specific frame in my movie from a text link. I have created a site with flash navigation, each time a user enters a section it plays the movie from the beginning. I would like the ability to have it jump to a specific scene or frame label once it been viewed, can I do this?
dan
Linking To Another Frame W/ DateChooser
Hi guys,
I'm trying to use the dateChooser component in MX 2004 prof. I want to assign a gotoAndStop() action on the dates in the calender so that when the user clicks on a date, they are taken to another frame on the main timeline. I've looked at the other posts on dateChooser, and 'tinkered' with it but havent been able to get anything to work.
Any help would be greatly appreciated.
Cheers
Andy
Linking To A Frame Label From Beyond
Hello,
I had heard that it was possible to link to a frame label from an outside page like an html document. Is this possible and if so, how. Thanks for all your help... in advance!
Billy
Linking From Flash To A Different Frame
hello I need help please I have this thing due for tomorrow and I can't find a way to get it working... So I created a menu on flash contaning about 6 buttons... this menu is place on the menu frame in dreamweaver, theres the top frame which has a little music player I made in flash also and the mainFrame where I want my information to show up... the problem I am having is targeting the mainFrame.. when I click on one of my buttons it opens the file in a new window or on the same window... and what I want is for it to load on the mainFrame, but I cant! Ive tried putting the AS on the button itself and I also tried putting the AS on the frame calling on the instance name of my button like home_btn.onRelease = function () and nothing and I know my frame names are good I've checked like a million times! so why dont my pages load on the mainFrame and instead open up a new window... pleaseeee help someone soon.
Linking To A Frame Within XML File
Hello... I have a quick question. Suppose I have a main SWF for my site and a call to an external XML file with some text and links. If I wanted to have a link in the external XML that re-directed the main SWF to a particular frame within that SWF, how would I go about it? Thanks.
Linking Links To Same Frame.
Im using flash 8 and regular html codes. The effect im trying to achieve is pressing on a navigation bar of links and having them appear within the same frame on my page without taking the viewer from the homepage.How do I achieve this?
Linking To Frame Hell
hi me again
how do i link to frames along the timeline when the button that i want to add the
on (release) {gotoAndStop();
code to is within an object, (i have to right click and select edit to access the button that is attached to a sliding menu) there is only one scene
any help would be excellent
Linking With Frame Labels
I'm having trouble with my links in my file. I have two movie clips. The first one has a link to the second one and seems to link fine. But when I try to link back to the first one the link won't work. I have tried everything. I would appreciate any help! I have attached the file. The red underlined words are the links.
Thanks so much!
Linking To Another Frame W/ DateChooser
Hi guys,
I'm trying to use the dateChooser component in MX 2004 prof. I want to assign a gotoAndStop() action on the dates in the calender so that when the user clicks on a date, they are taken to another frame on the main timeline.
Any help would be greatly appreciated.
Cheers
Andy
Linking To A Frame Label From Beyond
Hello,
I heard rumors that there was a way to link to a particular frame label from another page, say a html document. Anyone have any ideas how I can do this?
I'm a newbie, so easy to understand words would be appreciated... oh yeah, type slow because I don't read that fast!
Thanks in advance!
Linking To Specific Frame
I know I've seen this before but I can't seem to find it anywhere...
I'm looking to have a simple HTML link that will take one to a page and then go to a specific frame within a Flash movie that's on that page.
Anyone know of a tut or answer for that? (I'm still searching for a tut.)
Linking To A Specific Frame On Another Swf
Hi all,
I am trying to get a button on one swf to go to a specific frame on another swf. I have two movies A.swf and B.swf
I have five frames in A.swf. I have a button in B.swf. I want the button in B.swf to link to frame 4 in A.swf.
To accomplish this, I have the following code:
//code on the button in B.swf
on (press){
loadMovieNum("A.swf",1);}
on (release){
with (_level1) {
gotoAndPlay ("frame5");
}
}It works absolutely great (for anyone who wants to know how to link to a specific frame on another swf). The only problem is that when I execute this in 'Test Movie' you can see B.swf under A.swf. How do I get rid of B.swf so users can see only A.swf and the contents in frame 4?
I've tried almost everything, including changing level 1 to level 0. In this case, the first frame of A.swf plays. The playhead does not go to frame 4.
Can anyone help me with this please?
Many thanks.
Linking One Frame/scene To Another
First of all HI.
Im new here and also new to Macromedia Flash MX 2004. I am making my first game, but I am having problems. I made a button and am wondering HOW CAN I MAKE THAT BUTTON TAKE YOU TO ANOTHER FRAME OR SCENE. LIKE WHEN YOU CLICK ON IT, YOU GO OT ANOTHERE FRAME OR SCENE.
PLEASE HELP.
Frame Linking Problem
Hey everyone, I checked the board and couldn't find anything in relation to my question. So with that said I am having an issue with linking to different frames within the same swf file. Basically I am doing a website and when you click on the different links you go to different frames. Representing pages.
So the actual problem is when you click on the links the content for each page loads on the previous content. For example: If you are on the home page and click on the contact page, you will have the contact information on top of the home information. Hope that makes sense.
Curious if anyone can help.
Thanks in advance.
Kevin
Load HTML Page Into HTML Frame On Release [MX04]
I've got a minor glitch here.
Code:
getURL("about.htm", "bottomFrame");
It works, but instead of loading the "about.html" file into the "bottomFrame", it opens it in a new window; regardles of browser.
Funny thing is, this file worked perfectly about 4 months ago, and now its cactus. Anyone?
HTML Code In Flash To Load An HTML Page In A Frame
Hello.
I have an existing website built in html, with three frames. One on the top for the banner, one on the left for navigation, and a larger window to the right of the navigation for the main content. I want to replace the content in my navgation frame with a flash built navgation menu, and when my menu items are selected, it will load a new page in the content frame.
I currently have this working fine in html. I can make my buttons link to a URL no problem in flash, but how do I tell it to load the content into the other frame? I haven't started this process yet, and figured I'd ask first to get any ideas.
Thanks.
Navigation Bar Linking A Seperate Frame
I have a navigation bar I've constructed in Flash. I've placed it in the topFrame of a two frame html page. On this navigation bar is a button called "Contact". What would the getURL action script be to get the page "contact.html" to load in the lower frame?
|