Professional :: Change The Link For A Menu Navigation Button?

Aug 12, 2010

I installed a flash template. It has navigation buttons with a nice roll-over effect. The buttons are all located within a symbol called "menu" (it is a Movie Clip type symbol, not a Button type). Each individual button in the menu appear to be in its own separate layer, so the first button is in a layer called "item1, second button in "item2", and so on. I want to edit the link for the fourth button so it goes to another website but I can't seem to find the code to edit the link. I managed to find

[CODE]...

and this does work - upon pressing the button it goes to the website link. However, there is no more roll-over effect for this button. So there has to be an alternative or better way to editing the link for this button (without removing the roll-over effect).

View 3 Replies


Similar Posts:


Professional :: Change "link =" Code To "href=" On My Flash Navigation?

Apr 9, 2011

I was given the following recommendation for my website:
 
Your flash menu links to home.html.However,since home.html is the default document, you're encouraging people to link to http:[url]... or bookmark it.If you ever change the name of the default document(home page),those links will break.I would change the link to be <a href="/">home</a> so it loads whatever default page you are currently using.I looked at my code and it says this:
 
onClipEvent (load) {    num = 1;    this.hitArea = this.area;    link = "home.html";}on (rollOver) {    if (_root.link<>num) {        _root.icon1.gotoAndPlay("s1");        _root.item1.gotoAndPlay("s1");    }}on (releaseOutside, rollOut) {    if (_root.link<>num) {        _root.icon1.gotoAndPlay("s2");        _root.item1.gotoAndPlay("s2");    }}on (release) {    if (_root.link<>num) {        _parent["item"+_root.link].gotoAndPlay("s2");        _root.link = num;        getURL(link);    }}
 
 
When I changed the first section to this, I got an error and the home button kept rotating.
 
onClipEvent (load) {     num = 1;     this.hitArea = this.area;     link = <a href="/">home</a>;

View 3 Replies

ActionScript 2.0 :: Change Nav Button Image On Page Navigation Change?

May 26, 2010

i have my nave bar as my main swf then i load each page as an external swf in a mc container. each button should be marked when you navigate to the respective page. how would i load a current pages icon over the generic one when i navigate to that page then unload it when i navigate to another page?

View 5 Replies

ActionScript 3.0 :: Link Navigation Button To Pages?

Sep 25, 2009

Making buttons that open another url is easy enough, but for some reason I'm having a huge amount of trouble having a navigation button open new content on my website, such as moving from the Home content to the Menu content (the layout is static, only one small section filled with content changes.

I think the issue is that I can't figure out how to code it due to the fact that there are a good amount of nested movie clips, I'm not sure how to direct it to the place and frame I want.

I couldn't quite uplaod the file, so I've got it on filefront here: [URL]

View 2 Replies

Professional :: Making An Animated Navigation Link?

Aug 18, 2011

I want to make it so when the visitor hovers over each navigation link the icon changes from a stop sign to a go sign
 
how to go about doing this. I have watched tutorials and read up on the internet

View 2 Replies

Professional :: Navigation Menu That Follows Mouse?

Jan 10, 2011

I've been doing flash for a while, but I've never been good at coding. I'm trying to make a navigation bar for a website that follows the path of a mouse. Some examples are below: [URL] I'm looking to create something similar, however instead of having a bar slide through, I think I want an animated mask.

I want to set a default background image behind the text of the buttons, and a mask that fades out ontop of the background layer but behind the text. For those who don't understand... imagine a flashlight being pointed at a wall in a pitch black room. The circular source of light gives light to the background.Different from the examples above, I need to figure out how to make it follow the mouse exactly, instead of jumping to the next button automatically? I also suck at masks, but I'll be able to look that up. Are they animatable, or should I use a layer that is semi transparent in a  circular area?

View 7 Replies

ActionScript 3.0 :: Navigation Menu - Different Curtains To Show Up On Button Press

May 17, 2010

I am making a navigation menu in that I want a curtain to show up on the same page. In other words the user just stays in the same page and different curtains show up according to which menu button he presses with the corresponding content showing up in a curtain. I've given diferent names for each menu button which i converted to Movie Clips: bt_eol; bt_mar; bt_hid; bt_amb; bt_who. Then I created a Movie clip for the curtain and put it on frame 40 so that I can load a .doc file that has the content for the Menu button bt_eol.

Code:
function bt_eol(e:Event) {
mc_conteudo.gotoAndStop(40);
mc_conteudo.source="Conteudos/eolica.doc";
} bt_eol.addEventListener(MouseEvent.CLICK,bt_eol);

The mc_conteudo is the curtain. But I get this two errors: Incompatible override and Duplicate function definition. Or is it better to use a UILoader? This is probably easy to do as I've saw this on other websites,the user just presses a menu button and a frame/curtain/window whatever shows up with the content.

View 2 Replies

ActionScript 2.0 :: Make A Button In Such A Way So That After Clicked On It The Button Will Change Colour Indicating That The Link Has Been Visited?

Sep 1, 2004

I am trying to make a button in such a way so that after you clicked on it, the button will change colour, indicating that the link has been visited.

View 3 Replies

ActionScript 2.0 :: Slide Menu Navigation - Move The Rectangle To Show Which Image Is Being Viewed, When The 'next' Or 'previous' Button Is Pressed

Oct 16, 2007

I'm trying to put together a sideshow using a modification of load_images.fla (a sample file supplied with Flash) combined the the 'Kirupa Menu with Slider' tutorial ([URL]) The slideshow uses a 'next' & 'previous' button to click thought the images. In addition to this I have a separate slide menu navigation (currently just numbers 1-7), with a rectangle highlighting the number of the image being viewed. I would like to move the rectangle to show which image is being viewed, when the 'next' or 'previous' button is pressed. The follow code shows the actionscript for the 'next' & 'previous' buttons....

[Code]....

View 2 Replies

Change Link From A Button?

Jun 2, 2010

I bought a flash template last week and have more or less being able to modify it to the way I wanted, its 95% done & I've had to make a couple sacrifices due to my lack of flash knowledge.

The blog on the website is now on a subdomain (I'm using wordpress for the blog), I also had a registration email form on my current site which is now gonna be on a seperate html subdomain too.

My problem is that I have one page on the flash template that I wanted to use for the blog but as that's not easily done. Instead of using the button to open an empty page, is there anyway I can redirect it to the Blog on the subdomain & open it in a blank window/tab?

View 2 Replies

Flash :: Professional - Menu Doesn't Work After Opening An External Link

Nov 7, 2010

I made a simple website with a flash menu, that opens internal links in an iframe. However, I have a few other (not included in the menu) external links, which open in the same iframe. And after I click on one of them and it loads in the iframe, the buttons on the menu stop working. I'm beginning to think it has something to do with the internet explorer, since it works on some computers. But I'm not sure... not very good at this.

View 5 Replies

Professional :: Change The Link Tfile_main?

Jul 18, 2010

What i want to do is make the flash template bi-language.the Index file is linked to Main_F7.swf and to tfile_main.xml so i figured the easiest option for me (just a started with flash) is to make a second copy of Main_F7 (Main_F72) and link this one to tfile_main2 (second language).

index --> main_F7 --> tfile_main  (first language) with a button to the index2 file
index2 --> main_F72 --> tfile_main2 (for the second language) with a button to the index file

The site will open in english and whenever the button flag is clicked the second language will open.

View 1 Replies

Professional :: Cannot Locate And Change Link

Feb 9, 2011

I have a Flash project created in an earlier version that I'm opening in CS3. I'm trying to change one link, but it appears to be buried in code and I can't locate it and I need to change the link to an outside page.

View 8 Replies

ActionScript 2.0 :: Button - Change The Link Of Url Dynamically

Aug 23, 2004

is there a way, if i have a clear button in my movie with a load url actionscipt in it. is there a way to change the link of that url dynamicly. i know that sounds sort of crazy and ghetto, but is it possible?

View 3 Replies

Professional :: Duplicate A Button Instead Of Building A New One Each Time (navigation)

Mar 19, 2011

I have created a movieclip button which is animated  for all the states I need (up, over, out, etc.) it's made up of text, which is in a movie clip where I have my animations created (actions layer with AS3 script, my txt movieclip layer, my hit layer) and then that is inside a movie clip in my main scene.Is it possible to copy that button, so then change the text, Actionscript, instance name, etc?I tried copying the layer (by selecting the frames and copying frames, and pasting to new layer) but when I make any changes, it changes both copies!

View 4 Replies

Professional :: Hide Navigation Button In Xml Config File?

May 11, 2011

I have a photo gallery with a navigation button that allows for additional photo categories that I don't want to appear. Unfortunately, I can't open the .fla as it appears to have been created with a newer version of Flash. The code in the config.xml file is basically:
 
<navigation>  <menu 1> <content>
</menu 1>
<menu 2> <content>
</menu 2> 
etc. 
</navigation>
 
Is there a tag I can add to make the navigation link disappear?

View 5 Replies

ActionScript 2.0 ::button Change Colour, Indicating That The Link Has Been Visited?

Sep 1, 2004

I am trying to make a button in such a way so that after you clicked on it, the button will change colour, indicating that the link has been visited.

View 3 Replies

Navigation Button Drop Down Menu Won't Drop Down

Aug 13, 2009

Can somebody take a look at my .fla file and tell me why exactly my menu is not dropping down at all?If you download my file go to scene 3. that is where my Navigation Bar is.URL...

View 1 Replies

ActionScript 3.0 :: Possible To Change Submit Button's URL Link Based On User Input?

Mar 30, 2010

I have a separate html page that does this with a php script,reating that php file which is just a form that allows users to enter a passcode that I provide them which will then simply link them to an external html page. Since I don't know about php, I am thinking a possible work around would be to have a text input box which would allow a user to enter (passwordA) then click Submit to load (pageX.hmtl) or they could enter (passwordB) and Submit would load (pageY.html)

View 13 Replies

ActionScript 1/2 :: Change Button's Status In Tree Menu

Feb 17, 2010

well i had a tree menu which contain about 15 and under each of it about 3 or four sub the problem is when i press one of the sub it should gives specific status and when i press anther button from anywhere ,the 1st button should B initialized as it was i made to var to dedicate which i 've jst pressed.[code]

View 3 Replies

ActionScript 1/2 :: Change Color Of Dynamic Menu Button?

May 19, 2010

I have made a menu with many submenus

View 1 Replies

ActionScript 2.0 :: Changing Menubar Link - Videos Link On The Menu Bar Go Straight To My Youtube Channel

Jul 20, 2009

I am new to Flash. I bought a template online a couple weeks ago, and for the most part have made all the changes to personalize the page. The page is for wedding videography, and came with a Videos section. However, I do not like the template video player, and would like to have the Videos link on the menu bar go straight to my youtube channel rather than to the flash player. Primarily all changes to the template have been made in a text.txt file, rather than the flash file itself. My question is, how could I change the link on the main page to route to my youtube channel? Here's what it looks like in the text file:

[Code]....

View 3 Replies

Professional :: Won't Button Link To A URL?

Oct 1, 2010

I gave my button an instance name of "O2Online" on frame 1076.  I found AS3 code online and customized as follows:

[Code]...

View 6 Replies

Professional :: Link Button Is Opening New Tab?

Sep 15, 2010

i recently developed my website and i decided to create buttons to link my site. The problem i'm having is that when i click on a button it's opening up a new tab in my browser.

on (press) {getURL("services.html", "_main");
}

View 2 Replies

Professional :: Link A Button To Main Timeline?

Jun 19, 2010

i want to link a submit button in a movie clip to the main timeline, any ideas of how to do it?

View 15 Replies

Professional :: Find Out Where The Link For A Button Points To?

Aug 10, 2010

I installed a Flash template that has a "Read More" button which is used in several locations of the site.  The button corresponds to a single symbol called "button_more" and another symbol within that symbol called "area_more".  It's a "Movie Clip" type of symbol, not a "Button" type symbol. 
 
What I'm trying to figure out is where would I find the link to the page where that button points to - it points to different pages of the site depending on where it's located.  For example, in the About Us section it links to a page that has more details describing About Us.  In the Services section it links to a page that has more details describing Services.  So the same symbol is going to different links.
 
I checked the Properties of the symbol and it doesn't have any option for a link. (I guess it's not really going to a link, but to a different frame in the timeline)  But where would I find exactly where each button points to in case I want to edit one of them in the future, or create a new button with a new link?

View 7 Replies

Professional :: Can't Transfer A Button To A GetUrl() Link?

Apr 4, 2011

I try to create a flash menu; where every button on the screen operates as a simple getUrl() link. Because of this, I have taken the following steps:- Create new document.- Create a symbol on the canvas.- convert is into a button Symbol- Double Click the button and adding events for up, down, over by clicking F6 on each frame.- back in scene one, I right click the button and open the Action panel- Adding the Script: "on release { getUrl('index.html'}- Press ctrl + enter  to test the move ! ( index.html exists in the same folder as the flash file.)

View 1 Replies

Professional :: Make A Movie Clip Button Into A Url Link?

Aug 15, 2011

I saved as swf & got this error msg in the compiler errors: Symbol=but1,layer 4, frame=1 Mouse events are only for button instancesIn the library I checked the properties of the button and its a movies clip, I'm not sure if it will make any difference if I change to button or graphic?I would like to upload the fla and swf files but this forum doesn't seem to allow me to attach files to messages.

View 3 Replies

Flex :: Menu Control - Click A Button And A Menu Is Displayed. Click That Button A Second Time And Hide That Menu?

Jun 20, 2010

Basically, I have a button and on click it displays a menu. I want to click that menu a second time and the menu closes. Currently, every time you click the button, the menu reopens. I pasted the Flex livedoc example below. If you click the button, the menu keeps reopening.Now, I rigged it up by setting a var to open and closed, so when clicking the button it does a check. However, if you click away from the screen, the HIDE event gets dispatched, and the menu closes. This messed up the open close var being set.

How could I make this Flex example below show the menu on button click, and then on a second button click, it closes the menu? Take into affect that if you click away from the menu, it closes it.Also, I played around with the MOUSE_DOWN_OUTSIDE event for the button and set the preventDefault, and the FlexMouseEvent event.cancelable is set to false.Changing to a PopUpMenuButton is not an option. I have to much skinning involved.Here is the Flex example:

<mx:Script>
<![CDATA[
// Import the Menu control.
import mx.controls.Menu;

[code]....

View 1 Replies

Flex :: AIR: Url Navigation Via <a> Link In HtmlText?

Jun 17, 2011

I have AIR application and mx:Label with htmlText property [URL]. For some reason nothing happens when I click it. It works in not-AIR application, but does not in AIR one.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved