ActionScript 2.0 :: Menu Buttons To Stay Active?
Aug 21, 2010
If you have a look at the attached sliding menu there are four buttons. Each button brings an image in place. I want the button that�s been clicked to remain red until I hit a different button, even when the cursor is not right in front.
View 3 Replies
Similar Posts:
Aug 21, 2010
If you have a look at the attached sliding menu there are four buttons. Each button brings an image in place. I want the button that�s been clicked to remain red until I hit a different button, even when the cursor is not right in front.
View 4 Replies
Aug 22, 2010
I decided to post this question as a new thread since my enquiry is altered.
I got this sliding menu attached ("ActiveButtons.zip") that works according to plan. My problem is that I want the buttons to stay active(red) while the corresponding image is in place. Is this doable with a button?
View 1 Replies
Jan 31, 2006
when I load a movie in a container in the main swf, the buttons below the loaded movie stay interactive and conflict with the loaded movie. is there a way to get around this,deactivating or pausing the main movie so when you load a movie in the container, the main movie doesnt interfere with the loaded one?
View 2 Replies
Jul 25, 2007
I am creating a navigation bar in Flash (which will then be used in Dreamweaver). When you mouse over each topic in menu (ex. Products), i want it play a movie clip (so it shoots out a sub-menu underneath). so far so good, but the only thing is, the sub-menu won't stay open in order for me to click on buttons in it. For each button, I assigned it the Behavior to go to a url. Also, I tested the buttons within the mc and they don't seem to direct me to url. do you think maybe it's because it's nested within the movie clip?? Is there an easier way to go about this?
[Code]....
View 2 Replies
Mar 3, 2010
I'm currently working on an AS3 scripted drop down menu and for the most part it works exactly like I had envisioned with one small hiccup. The issue I have is if you accidentally navigate away from a button that creates one of my drop downs before the script has finished running the other drop down buttons will drop down but not be active until you go back to the original button and finish the script. What I believe will fix the problem is to disable the other main menu buttons until the script has finished. I could just disable at the beginning of the script and enable at the end but there are 5 flyouts and 9 buttons on the main menu. This would add up to a ton of extra code. So how could I create a block of code that disables the buttons and another block that will enable them at the end of the script but be able to call them in each script?
And here is my site that I'm currently working on. [URL]
View 1 Replies
Mar 23, 2009
im having trouble making the buttons within my drop down menu active.basically, on the main timeline, i have a movieclip, and within it have a button that once u roll over it, will go to another instance in that timeline to display a drop down menu located below it (with buttons). these buttons do not perform any actions to the main timeline regardless where i place the actionscript or how i point to those buttons.
View 1 Replies
Aug 5, 2011
I have a script from a template I purchased that I need to edit.I have buttons that I want to stay active (ie, they still link back to the same page) once it's selected.Right now, when that button is the main button, it has no link attached to it.The portion of the script that I'm referring to is
onClipEvent (load) {
num = 2;
}[code]..............
View 3 Replies
Feb 23, 2012
I'm working on a slideshow presentation which cycles through ten slides. It also has ten buttons so that you can go between the slides.My problem is that I want the button to stay hovering while it's on it's specific slide.Right now when you hover over a button it will "rise" and when you mouse off it "lowers" I need the button to stay in the risen position while it's on it's specific slide, then lower when it transitions out and then the next button will rise in it's specific slide.
View 7 Replies
Mar 26, 2009
I have a window component on my main timeline that gets called up on several instances. When the popup window appears, everything looks fine, except that the user can still click on links that are now behind the actual popup window itself. My question is how do I keep those buttons from being active while the popup window is active?
View 2 Replies
Dec 17, 2004
I have a menu with five nav buttons (atcually MovieClips). Each has three frame labels: "on", "stay", and "off". The rollover and rollout animations play flawlessly, but I'm at a loss as to how to give each button a sticky "active" state. I'd like the button to stay in it's active state until another button is clicked, then I would like it to play it's "off" animation. Each MC has this code:
[Code]...
View 2 Replies
Dec 25, 2005
i have a menu http[url]....that i want to have the month and day stay highlighted depending what page you are on. you will have to check it out to see what i am talking about
the menu sits on an asp page so the whole site is not all in flash but when someone clicks and month and day i want it to stay colored in even after they are taken to that page. i know their has to be a way to do this without making a menu for each month.
View 3 Replies
Apr 16, 2009
i'm working on a project where i would like to build a menu of 3 buttons in the bottom of my screen, when 1 of these buttons is clicked a little popup MC pops up with a X sign to close it. WHen the popup is active the background (the buttons) fade to a 30% alpha and a re not clickable anymore. When i close the popup MC with the X sign then the buttons are active again. I seen a tutorial how to do this but i lost it.
View 2 Replies
Feb 12, 2010
Here is the code on my buttons, which work fine.[code]...
How do I setup these buttons so that when button1 is clicked, and the button1 page is loaded, that the button stays in 'Over' state?
And just to elaborate, when button2 is clicked and loaded, I want button2 to be in 'Over' state while button1 goes back to normal.
So basically, how do I highlight the active menu item with my 'Over' state?
View 4 Replies
Feb 13, 2012
I'm updating this site for a client:
[URL]
I can't get "Motion" and "Press" to show as active. Basically this is done via a gotoAndPlay function, but it's not working. In addition, the code also deactivates the menu item when it's active; so, if I was on "Profile" before going to "Web" or "Press," that item remains inactive once I've clicked on "Web" or "Press," so I can't click on "Profile" again until I go to any of the other pages.
Below is the code for the navigation. Also, there is an external file named BookSection.as that I believe contains the code we would need to edit, I just can't figure out what it is - I've tried several edits.
You can find here (I couldn't upload since I don't have more than 50 posts):
[URL]
ActionScript Code:
mLogo.gotoAndStop("complete");
// PRINT------------------------------------------
booksButton.onRelease = function()
[Code].....
View 0 Replies
Feb 12, 2010
I found this script but it doesn't work. My buttons are not in a movieclip, and the instance names are but1-6.[code]The script is on a new layer called actions. Can anyone tell me why this script has NO effect whatsoever?
View 1 Replies
Oct 29, 2009
i've some flash elements in a php page, one of these is a menu that open some php page (target: _top) I do not why, every time it has to be clicked several times to go at the correct page, seams that it need to bee first activated with some clicks
the menu is in (and open) these pages (left column, snow, x-mas, and scuola logos):
[Code]....
View 2 Replies
Mar 31, 2010
I have created a menu with XML & AS3, which works nicely.But, I just met a problem. If I want to highlight a menu item which I just clicked, and it will disable the highlight after I click another item in the menu. How could I do that?
View 3 Replies
Feb 11, 2010
Here is the code on my buttons, which work fine.[code]....
How do I setup these buttons so that when button1 is clicked, and the button1 page is loaded, that the button stays in 'Over' state?
And just to elaborate, when button2 is clicked and loaded, I want button2 to be in 'Over' state while button1 goes back to normal.
So basically, how do I highlight the active menu item with my 'Over' state?
View 1 Replies
Jan 18, 2010
Ive got a simple menu that upon hover of each item, plays a movie clip, then on mouse_out it plays the movie clip in reverse. What I'm trying to do is to have a third state (active) that is shown upon clicking. I'm thinking I need to do something along the lines of:
-When clicked, gotoAndStop(5) //Five being the location of my active frame
-Also remove the event listener that triggers the function to play the movie in reverse.
-Then when another menu item is clicked, re-add the event listener to the previous menu item so it's not stuck 'active'
My code is as follows:
// Imports
import fl.transitions.*;
import fl.transitions.Tween;
import fl.transitions.easing.*;
import flash.external.ExternalInterface;
[Code] .....
View 2 Replies
May 11, 2010
how to make flash menu in active state.when i click one other button the first button remain on rollover sate and do not become active. see for your self.
View 4 Replies
Feb 11, 2010
I have a menu with about 5 items, they all work great with this code on each one:
Code:
on (release) {
if (_root.link<>1) {
_parent["b"+_root.link].play();
_root.link = 1;
_root.play();
}}
(The number 1 changes 2-5 depending on button)
Works great, now.. When I hover over a menu item is turns green, I click it, it takes me to the right page, but I want it to stay green. And when I click another page I want the other menu item to turn green and all other revert back to regular. How do I do this?
View 3 Replies
Nov 11, 2010
how to do that when you run the swf the Play button on the shortcut menu was always active
View 1 Replies
Apr 2, 2009
what i'm referring to is the way in which the thumbs and menu items stay at the bottom & top no matter what size the window is resized to.. and the its only the big images that are resized...
View 1 Replies
Aug 14, 2009
The center top of this webpage has a navigation menu that I'm trying to create [URL]. Basically, depending on where the mouseover is, the image and hence the button/link below changes. How to have multiple hit areas overlapping in the same place, and to have only one specific hit area active depending on where the mouseover is at the time.
View 1 Replies
Apr 3, 2012
I have a document which is basically a catalogue page, and I'm trying to make it so that when you click on an image, a movieclip of the image fading in larger appears, so it will look essentially like it's been zoomed in. To do this I put the movieclip inside a button. I have the button working fine, when you click it, it does exactly what it's supposed to, but I have no idea how to set it so that when the button is clicked it stays in the 'down' position, so you don't have to hold the mouse down. And also how to get back to the main screen afterwards, since the movie does take up the entire stage when played. Is it possible to do this?
View 4 Replies
Jul 17, 2008
So, I've always struggled with the best way to do this. I have a method, but it seems like there's gotta be a better way.
Say you have an array of menu items
Code:
var menuArray:Arrary = [item1,item2,item3];
, and onRollOver they receive a certain color:
[Code]....
I realize that there's some additional code that would need to be written here, but you get the point. Basically what I'm doing is disabling the button so nothing happens onRollOut. Then I'm setting all the buttons colors to null, but changing whichever button was flagged as active to red.
It seems like a really ghetto way of doing this, and you notice a visible flicker in color of the active menu item if there are a lot of items in your array. Does anybody know a better way to handle this?
View 3 Replies
May 20, 2011
I'm making a roll over flash file, it contains 3 roll over buttons on the left panel and each brings up a piece of unique text. What i'm having problems with is getting one of the buttons to stay up when the webpage loads but then changes if you choose another roll over button. Also i want the text for each button to stay up if i leave the button roll over area but it changes to the other if a different roll over button is hit.
View 5 Replies
Feb 12, 2009
when a user rolls over a button, the button plays the "open" frame inside the button. When the user rolls off the button, the button plays the "close" frame of the button. When a user presses the button, the button goes to the "dock" frame of the button. Here's the problem : when a user clicks a button, all the other buttons go to their "close" frame when only the button that's previously open when the user clicks a differen button should go to the "close" frame.
More emphatically, a function is needed to check to see if any buttons are in the open state (not a frame 1) when a user clicks a buttons. The way the code is now, when a user clicks a button, all the other buttons go to their "close" frame when only the button that was open should go to their "close" frame. Thus, if any button is not open when a user clicks any button, then, that button shouldn't do anything.
[Code]...
View 2 Replies
Jul 25, 2009
I have buttons inside/on window01/mc that are still active/clickable when the opacity is 0, I basically have a area on my website that if you click it opens the window corresponding to the button. how do I stop this? I only want the buttons to work when window01 is opacity 100. I'm not a pro at AS so please if you reply, walk me through it a bit or edit my code. [URL] just click in the blank black area below the nav bar and the window will appear. The normal way to get to this window is click products than the buttons.
Code: Select allimport gs.TweenLite;
btn06.addEventListener(MouseEvent.CLICK,f2);
function f2(e:Event){
[code]....
View 4 Replies