ActionScript 2.0 :: Menu Versus Submenu Appearance : XML-Driven Drop-Down Menu?
Apr 16, 2004I 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 RepliesI 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 RepliesI 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.
(and if anyone is interested, i've turned it into a horizonal menu... reply and i'll post the code. better yet, help me fix the GUI issue and i'll post it )
I have been working on building a XML menu and I have been able to create the main menu but I am not sure how to add the sub menu items in a drop down. I have included a zip file of my little test project which is CS4 and includes the fla and xml file.
The menu items consist of the following and the sub menu options are listed. As I said I have been able to create the main menu but I am not sure how to add and display the sub menus.[code]...
I've been taking advantage of kirupa's excellent tutorials for quite a while now, and lurked in the forums from time to time, but not registered until now. I'm finding myself having some problems that I seem to be unable to overcome, I've been trying to create a variant of the XML-driven drop-down menu that instead of displaying the submenus to the right of the mainmenu inserts them inbetween the mainmenu elements.[code]
View 2 RepliesI have checked this tutorial in kirupa website but this is vertical xml drop down menuI would like to change this into horizontallybut when i try to do this through change the codethe submenu also goes horizontally which i dont want that Basically i want main menus to be horizontal and submenus to be verticallyAs which code has to be changed so that main menu will be horizontal and submenu's will be vertical
View 2 RepliesI want to add actions (other than "gotoURL") to the XML Driven Drop Down Menu (tutorial on this site) - particularly internal site navigation - ie, gotoAndStop().
View 1 RepliesI'm having truble understanding it all really... if anyone managed to complete the tutorial start to finish without scratching their heads
View 3 RepliesHow do you make the XML-Driven Drop-Down Menu[url]...
View 1 Repliesis there an AS3 version of the XML-Driven Drop-Down Menu tutorial available.
View 3 RepliesI have followed Kirupa's tutorial on an XML driven drop down menu. On this menu, when a submenu is opened, it opens next to the button the mouse is hovering over. I need the submenus to open at the top of my flash page, does anyone know how to do this?
View 3 RepliesI'm slowly trying to get my pea sized brain wrapped around using xml in flash.my question is how do i convert what senocular has here:
Code:
Actions = Object();
Actions.gotoURL = function(urlVar){
[code].....
whats up everyone, awsome tutorial but i don't like the menu being vertical so i changed it to horizontal. bold parts i changed...
[Code]...
I am trying to use Kirupa's XML drop down menu(action script 2.0): aka: [URL] however I cannot have it output the childNode. This is because it is using a for loop with the curr_item variable. when I try to trace the for loop count variable, it just returns the last for loop variable. I basically want it so that when I click on a button on the 3rd tier submenu, I want it to output all the prior tiers that the button belongs in.
View 2 RepliesI would like to add a "show/hide" command to an item in this menu.For instance:
<item name="home" action="gotoURL" variables="http://www.kirupa.com"/>
to:
<item name="home-1" action="gotoURL" variables="http://www.kirupa.com" show="true"/>
<item name="home-2" action="gotoURL" variables="http://www.kirupa.com" show="false"/>
have designed a menu that opens into a sub menu that in turn opens up to reveal another menu .the menu is split 5 times too reveal the submenu's the script to do this is a tween that at frame 6 opens the menu and 11 closes it.
This is replicated to form another sumenu
I have declared the menu instance as "menu"
I have declared the submenu instance as "subsect"
I have declared the button to open the submenu as "expander"
using the with action i have told the expanders to tell all the other submenu's to play the closing sequence so that the open menus close when a new menu is opened .this fails to work as the with action cannot find the target .the code on the expander button is as follows
on (press) {
gotoAndPlay(5);
with (_root.menu.subsect2) {gotoAndPlay(11); [code]............
I'm recreating an xml menu inspired by [URL]... How to change the menu to a horizontal menu with the same submenu animated dropdowns... so basically, I need the main categories to go accross the top and the rest work the same.
View 9 RepliesQuestion regarding the tuturial:[URL]
change the width of the dynamic text field that each text nav item from the xml loads into so that the width changes depending on what is in the xml.
So the width of the button would change depending on the ammount of characters entered.
I've used the tutorial for the XML Driven Drop Down Menu to create the main navigation for a site i'm doing, it's all working fine except I want to keep the 'current' area highlighted after it's clicked on. The rollOver events are defined in the AS but when I tried adding a function to change the colour of the item it either had no effect or broke the nav eHere is the code (from Sen's tutorial modified with new actions):
Code:
// generates a list of menu items (effectively one menu)
// given the inputted parameters. This makes the main menu
[code].....
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 RepliesI 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 RepliesEach 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]...
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 RepliesI'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]...
I have an array for my menu and submenus.It works fine, but I have to click again on the menu to close it.When it's open it's completly open it takes too much space.how I could make a menu close when I click on another menu item..this is the code on the frame on my main timeline:
MenuArray=new array();
MenuArray[1]=menu1;
MenuArray[2]=menu2;[code].....
I need to add a drop down menu to the main menu button called "galleries".
The menu came from one of the awesome kirupa tutorials here, and below is a link to my existing menu w slider:
[URL]
When I try to add a popup menu to "galleries" to the over state in galleries, the popup menu dissappears when you rollover the first item.
Here is the .fla, click on gallery, and open up popup_but to see what I've done in the "over" state:
[URL]
This if my first flash site, and I long over schedule
I am having a hard time trying to create a sub-menu using xml. The main menu works but the sub-menu is not being populated. Here is the AS and the XML
Code:
Object.registerClass ("item1",src.button);
Object.registerClass ("item2",src.button);
Object.registerClass ("item3",src.button);
Object.registerClass ("item4",src.button);
[Code]...
How can I make sure a menu button name appears in a different colour when it is selected and stays that colour until the user navigates to another page?Example: My menu buttons have a dark brown font. I have changed the font colour to red on the 'down' state of the button setting. This means the users clicks on a menu, e.g. Gallery and the Gallery button turns red briefly. However, it doesn't stay red which is what I want.
View 2 Repliesi am stuck with this.
Code:
/*some variables*/
var holder_mc:MovieClip;
var menuArray:Array = new Array();
var subMenuArray:Array = new Array();
[Code]...
I have a simple vertical xml menu layed out and would like to know how to create submenus that appear below the selected entry and move all other menus down to compensate.[URL]
View 4 RepliesIs it possible to create submenu in context menu (right click menu) in Adobe Flex?
Menu1 >
- Menu1.1
- Menu1.2
[code].....