ActionScript 2.0 :: Drop Down Menu Buttons Won't Work?
Jan 14, 2008
I have made a drop down menu, that through shape tweening expands when you mouse over a tab...and when its fully expanded...buttons show up...I want the buttons to perform actions when clicked, but as it is now, I cannot get them to simply trace...I have a movieclip named tools on the main stage...this tools movieclip is the one that expands when you hover over its tab...in the tools movieclip I have a button that shows up when the tab is expanded...."jButton" in the main movie...I am trying to access it using the following code...
tools.jButton.onRelease = function()
that does nothing...in the tools movieclip I tried to put actionscript
jButton.onRelease = function()
this does nothing as well...I am trying to make a simple tools menu which will allow the user to print or save the contents of a movieclip...as as soon as the buttons perform any action I can go on to coding the ideas above...
View 1 Replies
Similar Posts:
Feb 12, 2004
I need a tutorial for a hierarchical drop down menu system that drops down 3 sub levels. Do I make the items in the sub menus individual buttons and then insert them into a movie clip or make every sub menu item a movie clip and insert them into buttons?
View 1 Replies
Aug 25, 2010
I want to make a button stay in its down state when it's clicked, and I did it for the MC buttons "Objectivity" and "Publications", but not for MC button "Fotography", that trigger the vertical drop down menu. I also want that the MC buttons "Objectivity and "Publications" make the "vertical drop down menu" reverse for it's original state (hide).P.S. Of course, I want all the MC buttons link to their respective URL's.
View 4 Replies
Sep 14, 2010
This has been bugging me for 2 days! I can't seem to figure out how to get my drop down menu to work. When I roll over my main button the sub buttons tween down into the mask. It looks great but when I move my mouse down to one of the sub buttons of course they slide back up because I rolled off of the main button.I will put my code in here, but keep in mind it is not finished and needs to be cleaned up =)
[Code]...
View 4 Replies
Jul 22, 2009
I have a drop down menu on my website and it works perfectly fine except for some of the links. i don't have the other pages made yet but i still have the links to the pages in the buttons in my drop down menu. For some reason when i click on the buttons in the drop down menu, they don't go to the pages, they don't do anything. But when i click on the buttons in the sub drop down menu in side the main drop down, they work
the code for each button is the on(release) get url code, is their a different code i can use that will make these buttons work? here is the link to the website so you can see what I mean. the paralegal services button is the one with the drop down.
[URL]
View 3 Replies
Nov 10, 2009
I'm creating a drop down menu and when I addEventListeners to check the clicks on the invisible buttons on frame 19 of the "menu" movieclip, it gives me an error. T really hate doing rollover with actionscripts. The download link for the fla can be found in below. Sorry for posting an external download link as the file is 7mb+! [URL]
View 2 Replies
Jul 22, 2009
I have a drop down menu on my website and it works perfectly fine except for some of the links. i don't have the other pages made yet but i still have the links to the pages in the buttons in my drop down menu. For some reason when i click on the buttons in the drop down menu, they don't go to the pages, they don't do anything. But when i click on the buttons in the sub drop down menu in side the main drop down, they work
the code for each button is the on(release) get url code, is their a different code i can use that will make these buttons work? here is the link to the website so you can see what I mean. the paralegal services button is the one with the drop down.[URL]
View 1 Replies
Aug 22, 2009
I am trying to get a drop down menu to work in Flash but cannot get the Actionscript to work. I am a novice at Actionscript so I'm not even sure where to start. Basically, I want the menu to drop down when you hover over it. If I can show me how I should start the script, I can probably figure the rest out. I have four drop down buttons that should come down when you hover or roll over. I can't attach the flash file because it is over the file limit.
View 7 Replies
Oct 6, 2005
I am by no means an actionscript genius. I took a tutorial online to figure out how to do a drop down menu. It is all visually functional but when I click a sub-menu item it wont work. For example, if I click the "company" tab on my website, there are 2 options: "about us" and "contact us". In my time frame we are sitting on frame 200. I have added the following actionscript to the "about us" sub-menu button:
[Code]...
View 2 Replies
Jul 1, 2010
I have followed a video guide on how to make a drop down menu in Flash CS4 ( AS3) with a few modifications. Instead of dropping down, it appears to the left of the "button" and it's a fade in fade out effect.And instead of text in the buttons, I've put in .png's. One png for normal button, another png for mouseover.The problem is that when I put the mouse on the original button ( the one meant to activate the menu) it activates the menu, but when I try to put the mouse on the menu, the menu dissapears.I've tried putting the layers in different orders but it didn't work.[code]
View 2 Replies
Sep 2, 2009
I am attempting to revamp a website. The buttons that are currently being used are only gifs that are hyperlinked and there are almost 12 buttons... I think that this is a ridiculous amount of buttons to have. It looks very cluttered. So, I figured I should make 6 buttons and just fit the rest of the buttons into subcategorized buttons. And the way to do this is to create flash buttons with drop down menus. To see what I mean, go to this link and look at their buttons:
[URL]
Their buttons drop down into menus with sub-categories. I want to do this.
So far, I have gone into flash, created buttons and made graphics for the "Up" "Over" "Down" and "Hit". I have also added the menu buttons and graphics for the "Over" of each drop-down button-menu.
I have even provided the action script to link each button to where I need it to go.
HOWEVER, here is where the problem is. When I roll the mouse over the button, and then move the mouse down to click on one of the buttons in the drop down menu, the menu disappears, OF COURSE, because the mouse goes off the hit. I can't make the hit bigger, because the menu shouldn't open unless it's on the main button. But without the hit being bigger, the menu will always disappear.
IN ADDITION, I've never used flash buttons on a website before. I'm just using HTML. How do I link the button to the page? Do I save the file as a .swf flash file? And link to 6 different files? Or do I save the buttons in a line, and just use one link?
View 2 Replies
Jan 7, 2012
I am having an amazingly frustrating problem here, I created a drop down menu with different buttons and I want these buttons to send me to a different scene in the flash document, again, Working with AS2.When I click the button in the movie clip, all it does is it closes the menu and doesn't direct me to the frame I need, but If I copy the button, and paste it outside the movieClip, it works just fine.[code]
View 2 Replies
Jun 16, 2006
I am trying to build a website that uses the XML menu in kirupa tutorials. However, I am trying to customise it but I am having problems trying to solve this impossible task! Basically, instead of it being a drop down menu, I am trying to make the menu work on Click instead on RollOver. When the user clicks "on" a link, the link will keep an on state. And when the user clicks on the sub link, that sub link will keep an "on" state.
However, when the user selects a different menu item on the main level, the other "on" states will turn off. So basically I am trying to set up perhaps a variable that remembers which menu item is on and loops through the same level and automacally switches the other items off. Is that confusing? I AM!
View 1 Replies
Jun 25, 2009
I made a drop down menu following the tutorial here. My problem is that the drop down buttons don't link to the respective scenes. Their rollover states work.
When I work on the drop down menu movie clip directly from the library, the button links work.[code]...
View 1 Replies
Aug 11, 2009
I'm having a bit of trouble getting a button in a hoover over drop down menu to link to another scene in the .swf movie. I just doing a basic drop down menu (example here: [URL] with a couple of buttons with in a movie clip, the movie clip being the "button" someone hoovers over. The buttons however are not going to the corrisponding scene I have them set up to. What's strange is that if I set in the buttons action panel to go to an url instead of a scene, in the .swf movie the button works when I click it...it wants to go the specificed url. Nothing happens when it's set to go to a scene.
View 5 Replies
Jan 4, 2009
I'm trying to make a tsunami menu with word buttons that light up and have a list of subcategories that drops down when the user puts the cursor over the word button...i'm using this tutorial for the tsunami part:
View 5 Replies
Apr 17, 2008
I'm trying to create a horizontal drop-down (well, sliding in actually) menu bar that expands to stage when rolling over it, and collapsing in when rolling-out. Problem is, when I roll-over one of the buttons in the menu, flash thinks I'm rolling out from the area that was supposed to trigger the menu in.I have attached the file I'm working on (hopefully the most accurate one, as I tried dozens of solutions and wasn't very careful with naming...
View 4 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
Feb 17, 2010
I am trying to make an index page with buttons for a photography site.the entire page is built in flash so far. I have created a drop down menu that is a Movieclip with 5 buttons.I can not seem to assign an external web page to each buttons that are under the movie clip drop down menu. Is this a possible? The Movie clip is run by mouse-over the word "studio Gallery" button. This drops down the 5 gallerbuttons (Portrait, children, wedding, Artistic Babies, etc...). In Flash 8 Pro I know I can assign an external web page named children on the main page but how do I assign these to the buttons in the drop down once the movieclip is made. Is this where I need to use folders with extra layers in the folder to make it work?
View 6 Replies
Dec 19, 2010
how to link the buttons in drop down menu to the content(scenes) within the flash file? The drop down menu has been made using the masks. Those buttons, which are not drop down/masked, work properly. Those which are drop down/masked, do not work. The content appears after clicking on them, then disappears when other (drop down) button is rolled over.
View 0 Replies
Jul 2, 2010
I followed a tutorial for creating a drop down menu with as3 and it worked great, except for the fact that the buttons within the dropdown don't work. the categories in the drop down are converted to button symbols and when you roll over each button text, it's supposed to change from green to grey but when you roll over them, they don't even register as buttons. Also when I move the cursor away from the dropdown slowly it rolls up, but when I move the cursor away quickly the drop down just stays down and then i have to actually move the cursor back on the dropdown and slowly move it away for it to roll up. For it to roll up I have it so the cursor rolls over a box that borders outside the dropdown and menu button and the code tells the box to roll up when moved over the box.
import fl.transitions.Tween;
import fl.transitions.easing.Regular;
import fl.transitions.easing.Elastic;
stop();
menu_cont.home_rect.alpha = 0;
[Code] .....
View 3 Replies
Apr 23, 2007
i have this rectangular menu that's positioned on the bottom of the stage, just 20 pixels above [it's 170 height so 150 arent visible]. when i rollover the mouse the menu rises showing the buttons, and hides if i rollout the mouse.
[Code]...
View 2 Replies
Jul 8, 2011
I have a 'dropdown' menu (that actually goes up...) with 4 buttons inside of it. The menu's bg is just a movieclip containing the buttons. The problem is, when you mouse over a button the dropdown menu retracts. How do I get flash to consider the buttons to be part of the background, so it doesn't think you're mousing out when you try to hover over the buttons?Heres a link to the FLA and some of the code. I've been trying to get it working for over five hours and I'm getting extremely frustrated.FLA: [URL]
View 5 Replies
Aug 6, 2011
I have the following problem / bug:
I made a custom button-class (called CustomBlitButton) where a button is defined. The roll over-states of the button are defined inside of the class CustomScreen. That's because a custom screen holds one or more buttons. I can create a button when using the createButton-function of the CustomScreen-class.
So if I want to make a screen with a menu, i.e. several buttons I do this like that (this is just an excerpt):
[code]...
View 1 Replies
Mar 10, 2006
I have created an XML driven Drop Down menu using the kirupa tut by Senocular found here. I am trying to figure out how to get the submenus to push the rest of the main menu down on rollover kind of like this. Not sure where to start to get the AS to get the button created fromt he XML nodes to move down.I haven't changed the code found int he tut too much and the menu works fine except that the rollovers just go over the main menu.
View 1 Replies
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
Jan 17, 2004
ive followed Senoculars drop-down menu tute [URL], awsome stuff, but it seems the submenu's dont disappear to well when you roll out. ..They only disappear if you click on another menu item or when you click outside the menu.
View 12 Replies
Mar 17, 2010
Each time I make a drop down menu I face some problems, For example, when I use tweening to roll out a menu ( via ROLL_OVER/ ROLL_OUT), sometimes the menu gets stuck, or starts flickering after it is rolled out if I move the cursor away, and move back on it.
How could I solve this, should I use a timer to disable the button until the tween finishes (or this would be good for nothing)?
[code]...
View 5 Replies
Apr 16, 2004
I love Senocular's XML-Driven Drop-Down Tutorial. But I can't seem to get it to make the menu headers look different from the submenus.
View 5 Replies
Nov 21, 2011
I'm creating an animated (in and out) drop down menu. I've managed to get the menu to open when the user mouses over, with the buttons all selectable. However I can't seem to find an efficient method of making the drop down menu close whenever the mouse is not over the menu. Actions:
[Code]...
View 2 Replies