Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




How Do You Link A Button To A Frame?



I am having the hardest time linking to a new page in flash.
Dunno if I am trying to edit the wrong MC or what.
Only 1 scene and goes like this:

scene1>pgapp>pages(this has 2 layers, 1 layer for action script -1 layer for pages and a total of 15 frames per layer)>page1(this has 7 layers, 1 frame each)

I am trying to link from each page(such as page 1) to a new page(such as page 11) but am having no luck



ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0
Posted on: 04-25-2006, 10:12 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Button Link Open In A Frame
I'm trying to open a link using action
This is what I'm using,

on (release) {
getURL ("about.html", "_self");
}

but everytime I click on it it open in a new window, I want it to open on a frame called main_area??

Any help would be appreciated.

Lamuz

Button Link To Html Frame
i am making a website wherein my buttons are made from flash and the target url is in html format. can someone send me a script wherein when i click on a specfic button it will open the page or the url to the target frame i made in my html. thanks a lot!

Button Link To A Frame On Another Movie
I have a button on page1.htm (page1.swf is the sole movie on that page)that links to page2.htm.

I want my button on page2.htm to link back to page1.htm BUT to a certain frame in the movie page1.swf. That movie has three scenes and I want the link to go to last frame of scene1.

Using the url page1.htm is Ok but I can't get it to go to the specific frame, just the start of page1.swf which makes the movie run it's length and that's what i don't want.

Could anyone help me ?

Link A Button To A Specific Frame MC
Ok, everything is on the main timeline. i just want a button to go to a specific frame in the movie clip on the main timeline.

Button With Link To New Szene + Certain Frame
hey flash experts!
i'm new here but totallt fell in love with flash!my questions will be so easy for you but they took hours of my time by now so i'm getting abit frustrated.
i'm using action script 1and2.

1 question:

i have a button in scene 2 and want to get from there to frame 15 in scene 1. it s very important that scene1 doesn't start from beginning again

i wrote:

on(release) {
gotoandplay ("szene1,15");
}

same with gotoandStop

none of those were working and it kept playing szene 1 from frame 1 and not 15.

whats wrong?

2. i want i button to open a regular website in a blank new window

i wrote:

on(release) {

getURL ("http://www.blablabla...");
}

but it didn't open anything

if anyone could correct my (obviously) wrong scripts, i'd be very grateful!

thank you

ingo

Link A Button To A Frame In A Movieclip
Hello people!

I am pretty new with using actionscript, so please excuse the simplicity of this question.

Im trying to link a button to a specific frame within an instance of a movie clip, so that once I click the button, the instance of the movie clip (shirt_mc) will go to the specified frame.

So what I want to know is : How?

The rational actionscript I believe should be used, but apparently is wrong because it isn't working is as follows:

(this script is inserted on the object, not the frame, for I believe that how it should be done for buttons?)

on (release) {
shirt_mc.gotoAndStop(2);
}

Looks wrong, and is, but I don't know how to make it work. Please help, any assistance and/or advise will be greatly appreciated.

How Would I Link A Frame Label To A Button?
Hello there,

I am currently in need of some advice on how to link a frame label to a button. Because at the moment my links aren't working, but I need to know a code so that the button would be able to be a link.

Thank you.

How Would I Link A Frame Label To A Button?
Hello there,

I am currently in need of some advice on how to link a frame label to a button. Because at the moment my links aren't working, but I need to know a code so that the button would be able to be a link.

Thank you.

Getting A Button Or Text Link To Load Up A Frame
Ok I have lots of questions today.

How would I get the movie to recognize a button or text link and stop, wait for the user to click on the button/link, then when they have to load up a specific frame.

Can You Make A Link To A Frame Outside A Movieclip With A Button?
Hey,
I would like to be able to goto say scene 2 frame 1 from a button inside a movie clip in flash mx.. How do I do that?
Thanks In Advance

How Do You Have A Button In One Swf Link To A Frame In A Different Flash File
how do you have a button in one swf link to a frame in a different flash file

How Can I Link From A Button In An MC To A Frame In The Main Scene?
I have a series of buttons in submenus (MCs) but I can't link from them. I think this is because it is trying to reach a frame in the MC. How can I get it to link to a frame in the main scene?

I can e-mail you the .fla if you like.


Thanks.

Link Text To Frame Label Without Button?
is there a way to link text, not to an URLl, but to a frame label?

i want to attatch :

on (release) {
_parent._parent.gotoAndStop("frame_label");

}

to a word in a scrollable dynamic text field without making it a button.
Cos if i make it a button, i have to go through it a zillion times. (i want to link quite a few words)

is there a way to do this (you know, just like html...)

Link To Frame On Scene 1 From Inside A Button
Ok i am making a dropout expanding menu for a website. So when you hover over the word a menu pops out to the side with links on it.

What i am doing to accomplish this is simply having the links and the pop-out menu on the hover tab inside the button.

I want the menu inside the button so i dont have to use the
on (rollOver) {
gotoAndStop(2);
}


So the links on the menu inside the button are buttons, and i tired using the code

on (release) {
_root.gotoAndStop(2);
}

And it doesn't link back to the frame two in scene one. What should i do?

Flash Button Wont Link To Main Frame Set
i am making a web page and i made a nav bar using flash. i have my nave bar in one frame set, and i want each button to link to the main frameset of the web page and not open to self or blank page. i am having trouble getting the link to go, is there a setting or a html code out there that i need to add..or is there something i need to add in the link field of my text when making the button and giving the web page html.

[MX04] Link A Button To A Movie Clip Frame
I have a button in scene 1 who need to link to a frame (frame 15) in the movie clip (movie1).
I have only:
on (release) {
gotoAndPlay('movie1',15);
}
please help..

[F8] How Can I Link A Button To A Frame Or Animation In A Movie Clip
good morning fellas. first off thanks to dallasnyc for the help on my last problem. ok, so my issue is that i have a movie clip on the timeline. it plays a short animation. after that animation theres two optons, two buttons on the page user clicks one the animation disappears and another box shows up, same with second. im just not sure what to do from here. any help would be appreciated. i can post the project if neccasary. thank you

Button Link To A Specific Frame In Time Line
Ok I have created my buttons and the content for the specific frames. I have named the button and given it an instance name. I have also given my specific frame a name and set that label type to Name.

Whats the code for turning getting my button to link to a specific frame?

I've also done the stop() code in each frame as I want it to stop at each frame until the button is clicked again.

I have more than one button and each will link to a different frame.

Thanks.





























Edited: 11/23/2007 at 02:22:55 PM by TnaE

Link To A Specific Frame Of A Flash Movie From An HTML Link
How do I link to a specific frame of a Flash movie from an HTML link?

Flash Menu In Top Frame Link To Anchor In Main Frame?
I have created a flash movie to use as a manu system at the top of my page. I have 2 layers, top layer is for the flash menu, and the body layer for the text and tables.

I have anchor positions in my bodylayer. I can't seem to be able to make it go to the anchor position, it goes to the page but not the position.

Heres what I inputed:

Anchor Image = About

Flash Link = #About
Flash Target = _self

p.s. I have tried using just an image with the link to the anchor and it works fine.

Any suggestions, I'm at a lose here.

Thanks

Link From Frame In MC To Frame In Main Movie?
I am making a website. The entire thing is flash, meaning inside the flash website a link to the next page will go to a new frame with different content instead of opening a new .html page. One big movie. I have a movie clip as a rollout menu on the header of the flash movie website. I need to know if it is possible to make one of the rollout menu items link to a frame of the website and not a frame in the rollout movie clip itself. If so...how please. if I just put a frame number in the actionscript it stays in the rollout menu movie clip. I have tried giving the desired frame a label but that didn't do anything.

any help is greatly appreciated.

Button Link Inside Movie Clip Link To Slide #
First let me say I am a very new to ActionScript and Flash, but have a pretty good understanding of the web and a basic understanding of object oriented scripts from CSS and a few other languages.

I have a navigation menu which is a movie clip containing buttons inside it and have a slide presentation as my main content. I am trying to make the buttons link to a specific slide # in a different part of my flash presentation.

You can see the page here: http://brhpc.ericlevay.com

The nav menu is a downloaded source and the slide show is the default canned one from the Flash templates directory.

I was hoping to use the gotoandStop (slide#) to make the connection between the nav button and the slide but it does not do anything.

I will provide the source if needed...

Thanks!

Text Flash Link - Button Mouseover & Link
Hi - I'm a basic user of flash mx - I'm redevloping my design site. How do you make text links and how do you do mouseover scripts in flash MX.

Thanks for your help

Link To Frame Label Instead Of Frame #?
How do I modify the following code to link to a label instead of a frame #?


Btn1.addEventListener(MouseEvent.CLICK, buttonClick1);
function buttonClick1(event:MouseEvent):void{
gotoAndStop(30);
};




Thanks!!!

Flash Frame To Frame Link
Hi all! I have a flash navigation bar on the lefthandside of my website and i have three Frames in my index.html site. (Top) (leftHandSide) (Center) What i want to do, is have the lefthandside frame with the flash be able to click on the buttons and it send a command to open the center frame up to what that link has without having a popup. Whats the java script for that i have looked everywhere. Im making the site with DreamWeaver

PS the flash on the lefthandside has 5 buttons in it. I need all of them to be able to open the center frame up.

Thanks

How To Have A Button Link To A Certain Frame Inside A Movie Clip From Inside A Movie
Is this possible? I have a menu and would like to have a drop down box nested inside the menue which links to certain frames inside the main movie clip.

Link To A Different Frame.
Hey all, this should be simple but I'm having a few problems.

I want buttons in my flash navigation menu to link to a different frame (in dreamweaver).

I thought this would work:

url = "http://www.whatever.com target=new_frame.htm"

but it's just loading "action canceled" in the same frame.
Anyone know what I'm doing wrong??

tnx ^_^

Link To A Different Frame.
Hey all, this should be simple but I'm having a few problems.

I want buttons in my flash navigation menu to link to a different frame (in dreamweaver).

I thought this would work:

url = "http://www.whatever.com target=new_frame.htm"

but it's just loading "action canceled" in the same frame.
Anyone know what I'm doing wrong??

tnx ^_^

[ps: if you see this post more than once its coz ive posted it a few times coz for some reason i cant view it]

How Can I Link To An Other Frame?
Hello,
I have two frames, one for the navigation (Flash) and the other one for the info (HTML).
What script shall the buttons in the navigation have that only the info frame changes whithout creating a new window which opens?

Link To A Frame And Not A URL, HOW?
Please take a look at this movie and see if you can explaine how to make the links go to a frame lable or number on the main stage. All of the links from this menu goto URLs.

http://www.flashkit.com/movies/Inter...ao-8032/index.

php

Link And Frame
I have create a menu with flash
then I put this menu in a html page in dreamweaver in the left frame
but when I click on the link in the flash menu the page appear im the left frame and not in the the mainframe (on the right)
what should I do ?
Thank for answering

Link To A Frame
how can i link a text in a static text box to a frame number?
tnks

Link To A Different Frame
I need help

so lets say I use tables and iframes on a site
Lets say there are link menus on iframe 1
and I want the links to change the site in iframe 2

I hope that made sence, I didn't know how to explain it in any other way.

Link To Another Frame
Hi, i am stuck....
How can i put a link in a button within the flash in frame 1, then after you click it, frame 2 will go to another page?

thanks a mil

Can I Link To A Frame Via XML? If So, How?
I'm loading text based content into my main mc using xml. That's pretty clear cut and it's working; no problems. Is there a way to create a link in that xml content (like an <a href= ... >) that links to other frames in my mc? I'm just not sure how to handle that (if it's even possible). Thanks for any help!

eppik

Don't Know How To Link To Another Frame
I have a web with two frames, in one frame i have the flash movie. A button should open a page in the other frame. How can this be done?
I tried to put the url and the target (i've put the name of the other frame in the target) in the properties of the button but the page opens in the whole window and not in the frame, why?

Link The End Of A Flv To Next Frame
I have a problem with linking the end of the movie to the next frame on the timeline. I am using the wizard to import video and using progressive download. I only can not link the end of the movie to the next frame on the timeline. Please help me out. It would help me out a lot.

Trying To Link To A Specified Frame
Hi
first of all sorry for my english ;-)
i konw that its possible to link from a html link, via javscript, to a
specified frame in a swf, but im looking since yesterday and cannot find
something to help me ( yes i found something like this but to communicate 2
swf movies, but i wanna link a html link to swf frame) ?
best thx

Link In Frame
Hello.I like to make a HTML web page with Flash menu.On my page there are 3 Frames ( not Iframe).I like all links from flash menu to be open in Frame named " Main ".All other to be static.In " Main" to load all links from flash.
Can anyone tell me how to do that step by step?I've tried with answers on your page but I didn't make it to work.
I like to make web like http://www.sanjamaletic.net .In this page on left side is flash meni and there are 5 Frame.
Please tell me how to do that and what code I have to write and where.
But please tell me simple as you can
And sorry if I am repeating this theme but I really didn't understand.

Link To A New Frame
I am having a mental block today so i need help making a link that goes to another frame. I have one object(text) which needs to become a button, i need to get this soon!!

Thanks in Advance

How Do I Link To Another Html Frame?
I want to make a link in my swf file (on a button) and when a person clicks on it I want it to bring up the page in the html frame below. Is this possible?
So the swf button will be in an html frame called banner. And when the button is clicked. The page will come up in the frame below called main.

Text With A Link To Another Frame ?
how do i make a text link to another frame ??? i dont have a clue so could u help me plz ???

Can I Link To Particular Frame Of New Movie?
How can I link from a button in movieA to a specific frame in movieB?

Text Link To Other Frame?
okey, i have a external text file, and want to link fra the text to another frame, ala a href="frame2">click here /a>
anyone know how thats done?

sorry if i ask stupid

Specific Frame Link?
Is there any way to load a specific frame in a .swf file using a standard html text link?

Link From Listbox To Frame
Hello all,

This may be simple, but, it seems, not for me.
I'm trying to create an address book in flash mx.
To develop the index... I would like to use a "listbox", listing all the letters of the alphabet... so that when a user clicks on a certain letter, he jumps to a certain point of the time line.

So I guess what I'm asking here is... how do I apply a "goto" action to labels in a listbox?

(I'm trying to get out of making 26 seperate buttons)

... or is this not what the "listbox" is for?

I'm also open to other suggestions.

Thank you.
@lex

Text As Link To Another Frame
Hi,

When a user clicks on static text, it is transfered to another frame(say frame 50) in the same movie?

Thanks.

:: Text Link To Another Frame ::
Wondering if there's a way to link a 'static text' that is in a scrollpane to another frame within the movie. Kinda like a 'hyperlink' but only to link to an internal frame or movieclip. Any ideas - thanks!

Link To A Frame In Frash
Hi,

Does anyone know if it's possible to use a standard html link to jump to a specific frame in a flash move.

Anyone, Anyone...

Copyright © 2005-08 www.BigResource.com, All rights reserved