Linking Buttons The Frames
Hi Thanks for reading my dilemma...
Okay... here's the situation: I have all of these buttons on my site. What I want them to be able to do is that whenever a person clicks on one of the buttons, it will jump to a specific part of the timeline beyond frame-150. Just to let you know, all of the animations and stuff all end at frame 150 on my main timeline.
I figure that I'd put a keyframe at frame 151 on a layer for one of the 'pages' to jump to, once the button is pressed. That so-called page would have a button to jump back to frame-150. *at least, this is the idea and theory*. I have the idea of labelling the frames involved after frame 150 but I don't really know how to piece together all of this knowledge.
Could someone please walk me through this and tell me how to code the action script and how to set this up?
Is this even how I should approach the situation? I don't want to deal with scenes and stuff, since I'm not to familiar with actionscripting.
PLEEEEEEEEEASE help me.
FlashKit > Flash Help > Flash Newbies
Posted on: 02-20-2002, 08:32 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Frames And Linking Buttons
ok, this is what i know:
_self : Opens the URL in the current window. (Same as if you did not specify any window)
_blank : Opens the URL i na new window.
_parent : Opens the URL in the parent frame (only works with framesets).
_top : Opens the page in the current window - if it's a frameset all frames are cancelled.
Im sure you all know that too, but what i need to know is, whats the oposite of '_parent' , i have a navigation on the bottom of my page and i want the links to open in my top frame.
With pictures i know you use 'mainframe'
I tryed 'mainframe' and _mainframe' but that just opens in a blank page :S
Linking Buttons To Frames
Hello, so this is my first post and i want to thank anyone who has some knowledge on this, in that case i'm sure there are lots of people to thank.
First I would like to clarify if its a recommended direction to take by making a button which leads to an animation that also has buttons on it.
Those 2nd buttons in turn lead to anther animation when clicked.
The issue i'm having is on the 2nd set of buttons/animations.
I've tried to use the same code :
on (release) {
gotoAndPlay(21);
stop();
}
which I used on the first set, but this time it doesn't seem to be working at all.
I'm wondering if this approach of creating multiple buttons and animations on what is initially just one animation a good approach.
Could anyone recommend some solution as to how I might get the 2nd button to work?
Thanks
Linking Buttons With Frames
Hi Im new to Flash and Im currently using Adobe Flash CS3. I have a problem that I could not find any solution for because of my lack of Actionscript knowledge... I have made a button "Enter" in Frame 1. In a new layer above I pressed F9 and tried using actionscript to link my button to a Movie clip in Frame 2. I could not find anything to do this. I know how to link the URL and stuff:
***name of button***.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
function mouseDownHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("*********************websitesname***** ***"))};
What I want to know is how to change the navigateToURL(new URLRequest("*********************websitesname***** ***"))}; lines in order for me to move on to frame 2 after Frame 1 with the Enter Button.
Linking Buttons To Frames
Background:
i have a products pages with 4 different product lines ex:chairs, desks, a/v, cabinets. Each product line is a button to its own page.
I was wondering if anyone would know how to link up a product line button to its specific page that is located on another frame he specific frame on the same page.
Can someone help me please :)
Linking Buttons In Different Frames?
i downloaded a flash template which was pretty much an awesome navigation bar. my problem is that i have made 2 frames on my web site and the nav bar is in the top fram and the content is in the bottom. i know how to make a link in html to display the target in the bottom frame ie target="bottomframe" but i have no idea where i can edit this code in the flash. the page is currently being tested in singlefram on www.angelfire.com/dc2/biobin but this is only because i can't get it to work in 2 frames. help me!!
Linking Buttons And Html Frames
Can someone please help me if they have the time. I've gotten myself completely twisted. I have made a bunch of buttons, each with their own rollover effects. I have also made a top header with each page name (eg. home; history etc..) as their own movie clip, all with stop actions and set on a different frame of the movie, while the background image stays static.
OK, what I'm trying to do is set up a webpage in Dreamweaver with 3 frames (header, side buttons and content) and I want each button as you press it, to change the text in the header frame as per the movie clips, and then also change the content area, however I'm not concerned about the content area at this stage.
I have my head buried in the FlashBible, and a bunch of magazines and I think I'm just confusing myself more and more. Someone please help, I'm trying to teach myself and I need some guidance!
Linking Buttons To Different Website Frames
Ok, I have a website divided into two frames with one of the frames containing flash buttons. How do I make it so that when I click on one of the buttons, the other frame goes to that link?
Buttons Linking To Wrong Frames
hi, i've got some buttons in one movie that link to frames within another movie but they keep linking to the wrong frames.
the buttons in cars.swf are numbered 1-5 and each one should link to a section in projects.swf
here is an example of the code on the buttons;
on(release){
this.createEmptyMovieClip("movie", 0);
_root.whichFrame = 1204;
movie.loadMovie("projects.swf");
movie._alpha = 100;
}
this should link to frame 1204 in projects swf but it is linking to frame 150 instead. i think it may have something to do with the code that i have put on frame 1 of projects.swf;
if(_root.whichFrame == 1){
this.gotoAndPlay(1);
}
if(_root.whichFrame == 150){
this.gotoAndPlay(150);
}
if(_root.whichFrame == 300){
this.gotoAndPlay(300);
}
if(_root.whichFrame == 450){
this.gotoAndPlay(450);
}
if(_root.whichFrame == 606){
this.gotoAndPlay(606);
}
if(_root.whichFrame == 756){
this.gotoAndPlay(756);
}
if(_root.whichFrame == 906){
this.gotoAndPlay(906);
}
if(_root.whichFrame == 1055){
this.gotoAndPlay(1055);
}
if(_root.whichFrame == 1204){
this.gotoAndPlay(1204);
}
if(_root.whichFrame == 1353){
this.gotoAndPlay(1353);
}
apparently i need this code here to make the buttons link correctly but it seems to be linking successively rather than depending on which button i press.
any ideas??
thanks
=^._.^=
Please Help Buttons Linking To Wrong Frames
hi, i've got some buttons in one movie that link to frames within another movie but they keep linking to the wrong frames.
the buttons in cars.swf are numbered 1-5 and each one should link to a section in projects.swf
here is an example of the code on the buttons;
on(release){
this.createEmptyMovieClip("movie", 0);
_root.whichFrame = 1204;
movie.loadMovie("projects.swf");
movie._alpha = 100;
}
this should link to frame 1204 in projects swf but it is linking to frame 150 instead. i think it may have something to do with the code that i have put on frame 1 of projects.swf;
if(_root.whichFrame == 1){
this.gotoAndPlay(1);
}
if(_root.whichFrame == 150){
this.gotoAndPlay(150);
}
if(_root.whichFrame == 300){
this.gotoAndPlay(300);
}
if(_root.whichFrame == 450){
this.gotoAndPlay(450);
}
if(_root.whichFrame == 606){
this.gotoAndPlay(606);
}
if(_root.whichFrame == 756){
this.gotoAndPlay(756);
}
if(_root.whichFrame == 906){
this.gotoAndPlay(906);
}
if(_root.whichFrame == 1055){
this.gotoAndPlay(1055);
}
if(_root.whichFrame == 1204){
this.gotoAndPlay(1204);
}
if(_root.whichFrame == 1353){
this.gotoAndPlay(1353);
}
apparently i need this code here to make the buttons link correctly but it seems to be linking successively rather than depending on which button i press.
any ideas??
thanks
=^._.^=
Buttons Linking To Frames On The Timeline
ok.. i know there are heaps of tutorials out there about buttons, im probably just stupid....
but the only tutorials i can find only show how to use buttons to link to websites, or teach me how to make a button and use a trace thing to say "im clicked" when its pressed.hahaha.... (why anyone would anyone need to learn that! anyway....)
What happened to the good old press the button to go to scene1,frame45.
I just dont understand what to use in place of this, can someone please please explain what im suppose to do now to navigate round.
Or direct me to a tutorial that will help, ive been stuck for weeks and its starting to make me go crazy!
[F8] Linking Movie Clip (buttons) To Frames?
I have made a menu navigation for a website, but instead of regular buttons I have created movie clips (to allow me to create animations for both hover states).
Now I realise that you can't simply put gotoAndPlay/Stop actions anywhere but the main timeline - so, even though my movie clips are on the main timeline, I can't put 'goto' actions on them, because they are only permitted on buttons (which are on a sub-timeline). But if I make just regular buttons I don't know how to animate both mouseover and mouseout.
How do I get around this problem? Is there another script I should use? Or is there another way to make animated buttons with movie clips for the hover states?
In case this all makes no sense, I've attached something along the lines of what I'm talking about to help explain better.
websitegrey(2).fla
So if I want to link the website movie clip "button" on index frame (30) to the fade out movie clip on frame 31, how would I do this?
Thanks
Linking With Frames
I have a website with frames and i want to make a menu in flash, but how do i make it link into the correct frame? Can someone plz help me?!?!
Alpha
Linking Into Frames
Im making a site using Frontpage and want Flash buttons to link to a page in another (i.e. the flash buttons in the menu page/frame should link to other pages to open in the main frame of the site). What frame should i say the buttons should link to (i.e. _self, _blank etc)
Thanks,
Linking To Frames
Here is the situation I am creating an interactive presentation that calls external flash swf files to create the one large presentation. I have a Preloader and an intro to a menu that plays before the main menu shows up. Once in the main menu it calls up external swf files and then runs those shows. From there I would like to be able to link back to the main navigation without having to view the preloader or the intro again what sould I do any Ideas
Thanks
Asnutting
Linking To Frames
Is it possible for html links to load a swf to a certain frame? I have an html page with several thumbnail links and an image viewer swf that has a different corresponding image on each frame. I can make all of the thumbnails open the viewer, but so far they all can only open it to the first frame. Is there a way to make each thumbnail load the swf and go to a certain frame?
I hope that wasn't too hard to understand.
Any help is greatly appreciated!
Linking Frames
I am using CS3. I asked earlier how one keyframe can be hyperlinked to go to another keyframe (frame 325 to 120). The answer I received was: place a button symbol on frame 325 with the following script: on (release) {gotoAndPlay(120);} I tried and there MUST be a step or two missing----I cannot do it. Where is the release button, where is the {gotoand Play(120) and is that a color or semi-colon at the end? A million thank you's to whomever can assist! I'm a GREEN newby who needs a step-by-step I guess!
Linking Between Frames
ive used the tutorial on how to create links inside a text box, but thats only for web address. i was wondering how i would create a link that would link to another frame on the timeline.
Linking Frames To Each Other..
Hi guys
Just stuck on one little thing here, i managed to have my main menu go to different frames with their own names like "main" "songs" "about us" and so on
but when i am inside one of the menu options what happens is that i can't link to them.
For example i replicated the link from the top menu which is on its own layer
on (release) {
//Movieclip GotoAndStop Behavior
this.pages.gotoAndStop("logos");
//End Behavior
}
but it just isnt buying it and the LOGOS is in PAGES .. but is there any easy way to go ahead creating layered pages as i will be having my portfolio with more than 10 sections and i dont know how to go to each section, all i am using now is NEXT FRAME PREV FRAME
anyone please
thx a mill
Linking Swf To Swf In Two Seperate Frames...
is there a way to link from one swf in one frame to another swf in another frame???
here is the scenario...
button in first swf links to a "goTo & Play frame number 120" in second swf... each of these swfs are in seperate html frames...
is this at all possible???
does this at all make sense???
thanks...
dan'l
Linking To HTML Frames
How do you link from a falsh menu in one htmL frame to another html frame?
All help appreciated
Ross
Linking To Second Flash Frames
Hi,
I'm not sure if this is possible but i was wondering if 1 swf could call a certain frame inside another swf and play it,
I'm trying to make a map by using 2 swf's, the first is the interface and the search engine swf (search is altered from either Kumar K's "Find a string" movie (u can download it at http://www.flashkit.com/movies/Scrip...07/index.shtml ) or from flashjunkie's "Active search v2" )
The second swf is the world map with the names of countries all over it
Here's what i want to do : The search contains a list of 10 countries, when u find a country u click it's name so the map swf repositions itself (by changing its coordinations) .. ex: u click on USA in the results field after u've done a search on USA (the result is also USA) so the map shows the US centered in the screen.
All i could think of is by making several frames in the world map swf each with different coordinations so when the search swf's result is clicked it goes to the correct frame of the loaded map.
i know its not a really bright idea but i don't know any actionscripting so if u have any better ideas please share them with me
thank u 4 ur help in advance
**web Frames Linking With Menubar** (pls Help)
thx 4 ya time. i got a big problem.
firstly,
i made a web page(frameset.htm) with 2 frames.
1st frame named "topp" <--the 1 on the top
2nd frame named "main" <--the main 1
then i put a flash5 menubar inside the topp.htm
when i open the frameset.htm with my IE ...i can see the frameset.htm ( topp.htm(flash menubar) at the top and main.htm below the menubar). when i click on my menubar links it will bring me to main_next1.htm (just an empty page) ... but i want the main_next1.htm to load inside frame "main" , the one below the menubar .
pls advise.
i tried setting
<BASE TARGET="main"> inside topp.htm codes but to no avail.
issit that i have to configure my flash5 menubar?
**web Frames Linking With Menubar** (pls Help)
thx 4 ya time. i got a big problem.
firstly,
i made a web page(frameset.htm) with 2 frames.
1st frame named "topp" <--the 1 on the top
2nd frame named "main" <--the main 1
then i put a flash5 menubar inside the topp.htm
when i open the frameset.htm with my IE ...i can see the frameset.htm ( topp.htm(flash menubar) at the top and main.htm below the menubar). when i click on my menubar links it will bring me to main_next1.htm (just an empty page) ... but i want the main_next1.htm to load inside frame "main" , the one below the menubar .
pls advise.
i tried setting
<BASE TARGET="main"> inside topp.htm codes but to no avail.
issit that i have to configure my flash5 menubar?
Linking Between Top And Buttom In Frames
Hi,
thank you for reading this.
I have a framepage with one topframe and a bottomframe. In the topframe there is a button in the swf that when clicking on it the swf in the bottomframe should go to a specific frame number - i.g. frame number 20. What would be the actionscript that I put in the button?
Thanx for any answers!
Regards ik.
Linking To Frames In New Swf Files
Im loading the new movies with the loadMovie command
In my first movie there are several different buttons (movie1) which when pressed should direct you to individual frames on a new movie (movie2). all of the frames in the second movie are on the one time line and are also in scene 1.
on (release) {
loadMovie("movie1.swf");
gotoAndPlay("65");
}
I started off by attaching this sort of scripting to each button
I know this is completely wrong but this should give somone the idea of what im trying to do.
any ideas
phil
Linking To Frames In A Separate Swf
I have just split up my too-large-to-load-efficiently website into sections, but I'm having some trouble linking to the separated swfs.
One button loads a separate swf into an empty movie clip on the main timeline (which I have done), and I need another button to then reference a specific frame in that now-loaded movie. How do I do that? Do I refer to the empty movieclip, or the now-loaded swf? Is it something like:
on (release) {
_root.movieclip.gotoAndStop("movie.swf","framePrin t01");
}
I get confused about how the loaded swf is recognised via the empty movie clip... and what about when I load another swf into that container? Will the correct frame in the newly loaded swf load? Do I have to unload the first swf before I load the next one?
Yikes. Thanks.
Michelle
Linking To Floating Frames
How do you use a flash button to link to a floating frame? My site has a floating frame and a flash button on the same page. How do I make it so that my flash button links to a page so that the page can be viewed INSIDE the floating frame? Here is my site... I hope you can help... I need the images page to appear in the floating frame (the white box) when I press the "images" button.
Linking To A Document With Frames
Hi, I need help with a school assignment.
I have been trying to link a Flash button to a document with frames. Everytime i test the file in IE6, the page just goes blank! what happened? Does Flash have some particular problem with linking to HTML documents with frames?
My deadline is 22 Aug, hope I can get some help by then...
THanks!
Linking Between Swf's To Specific Frames
I'm building a site with frames... The "button frame" is a 5 frame flash swf, which links to individual swf's in the main frame... Is there any way to link from the "Main frame" back to a specific frame in the "Button" swf?
Frames - Button Linking
Trying to make a page that has 3 frames.
1-Top/Header: Static, flash file
2-Middle/Body: dynamic, content from bottom menu.
3-Bottom/Menu: static, links change frame 2.
I have crated the footer menu buttons with the following properties:
on (release) {
//Goto Webpage Behavior
getURL("http://art.artsensemagazine.com/copyright.htm","_blank");
//End Behavior
}
But I do not want it to open a blank page, I want the link to open on frame 2.
What is the correct scipt for that. I have seen defults for Parent, Self, Top, Blank, but no "center". How can I accomplish this?
Thanks in advance.
this is the current site:
http://art.artsensemagazine.com
Linking To HTML Frames?
Does anyone know how I can link a flash button to a certain HTML frame on my website?
I use 2 frames, one for my menu (which is flash) and one for the content (which is HTML). I need it so when I click the flash button, it opens the link inside the content frame. Is there some type of action script or <target="contentframe"> code I need to tag on?
Thanks for any help!
Linking To Different Frames In Seperate Swf
Hello
Here is what I need to do:
Link from swf file A which is embedded in A.html
to a variable frame from swf file B embedded in B.html
Is this possible?
Thanks for any help!
Linking To Frames In External Swf
I'm a REAL newbie at flash, and have a website to create with a lot of separate SWF files.
I'm having difficulty linking back to a certain frame in the index.swf file which is embedded in the index.html file from the other SWF files.
how do i link back to a certain frame in the index.swf
or
should i have all the swfs placed within the index.swf and use to {goto} function to link to the correct frame?
any help or direction to find this out would be heaps helpful, thanks
Natzca
Linking To Specific Frames
I have a website with a javascript/Spry navigation bar. I was planning to have the static elements of the site done in Dreamweaver (the outer shell, basically), and have the main body of the page be in Flash.
If I had the body of the site in a Flash file, each page in a different frame, how would I link to a specific frame from my HTML file?
Linking Flash With Frames
Hello, I was just wondering if i could get a little help with linking flash to frames. Heres what my problem is.
I have my frame set complete and I have my flash file in my frame titled "top". I would like to know how to get my flash movie to open up a page in the frame "bottom"
All help will be greatly appreciated. Thanks in advance
Linking To HTML Frames
Hi there,
I've done a search on this, no luck.
I'm trying to link a Flash button to a html page in the right hand frame of my frameset, titled "mainFrame". I'm using the following code:
on (release) {
getURL ("02.html","mainFrame");
}
How do I stop "02.html" appearing in a new window?
Many thanks,
c
Flash Linking To Frames..
Okay, I have a flash navigation in one frame and html page in the other... I would like when clicked on a button, only the bottom frame reloads to a new page.. anyone know where I can find info on this?
thanks
Linking To HTML Frames
I'm making a flash menu, that plays an introduction to the webpage from the banner/menu. I need to use HTML frames, because if I don't, and I use the getURL action and create a html page with the flash in the correct position, the beginning of the flash will play each time a menu button is clicked.
If you didn't understand what I just said, because I communicated it wrong, here's what I have:
The Flash Banner/Menu
Please help!
Flash Frames Linking
How do you make a link inside a "frame" control the whole SWF?
In Detail,
If you have your main content, and 4 blank MovieClips that load seperate SWFs, what is the AS to make the loaded SWF control the WHOLE flash movie? Ex. 2Advanced (Its the most convienient example of navagation)
Linking Diff Frames From Swf
hey guys I'm first time here in ultrashock forum.I've a little problem .I have a HTML page with 2 frames-left & main.Now I've a swf in the left.On the main is a conventional HTML page.Now I have to open diff. HTML pages in the main frame thru the links inside the flash movie which is resided in my left frame
Help Linking Flash Navbar In Frames?
hey building a site,working w/ frames for the 1st time, (dreamweaver3), made a swf navbar, how do i target clicking on menu to the window frames???
i set it up already so that each click connects to the right url , now what?
confused
Linking To HTML Frames From Flash
Hi, I have a flash movie embedded in one half of a two frame HTML page.
I want to be able to button click in the flash and load in certain HTML page sinto th eopposite frame, what code do i need to put on the on release code to do this.
cheers
Wierd Problem With Linking To Other Frames..
In Scene 1, I have an intro and then I inserted a movie when the intro was finished. In that movie (let's call it movie1), I have other movies. I'm having a problem with one of the movies (let's call it movie2). The problem is I have a button in movie2 and I want that button to "gotoAndPlay(6)" in that movie, but when I test the movie, the button links me to a frame in movie1.
You know how when you have a button (component button) and you hover over it, the pointer doesn't change. However, when I put my mouse over this button in my movie2, it changes to a little hand and then when I click, it takes me to a frame in movie2.
The code is right, because the same code works on my other movies inside movie1!
What is my problem????
Here is a link to the show: thing
(Go to Far And Away From LA, then go to LA by night. The itinerary button (I changed it to plain text from a component) will take you back to movie1 Itinerary is the problem If you go to Tokyo, they work in there.
Please help ASAP!!
Newbee: Flashmovies And Frames Linking
Hi,
How can i launch a frame from a Flash movie in another frame?
Example: i have a frame with a Flashmovie containing buttons, this frame should always stay there.
When i press the buttons i would like to launch pages in the underlying frame.
Thanks.
Linking Html Frames And Actionscript
hey all
havent been here in a while and im positive that this has been covered before, but i must be blind because i cant find it.
anywho, i just want to have a button in my swf point to an iframe in my html.
just like if you were to put a html button that says ' target="content" ' and then the "content" frame switches.
thanks to anyone who can shed some light here
Linking Flash File Within Frames.
I have a three frame (left,middle,right) DW file with flash files embed to be used as buttons. I need to know how to script these buttons (DW and/orFMX) to get them to populate the middle frame, left frame, etc,.
Linking To Movie Frames With URL Variables
Is there a way to link directly to a specific keyframe of a SWF using code in the URL? We have build a Flash portfolio slideshow for a number of artists and we would like to link to the main page for each artist within the main movie. So the URL might look something like this http://mysite.com?artist=joebob. As an example, we would want this URL to point to Joe Bob's portfolio page instead of the home page for mysite.com. Joe Bob's page would be on the 200th frame of the main movie, for example.
|