ActionScript 3.0 :: Create Drop Down Menu With Submenus And Data Came From Xml File?
Jul 14, 2009i want to create drop down menu with submenus & data came from xml file.
View 2 Repliesi want to create drop down menu with submenus & data came from xml file.
View 2 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 RepliesI'm fairly new to actionscript and am trying to create an accordion menu that contains three submenus. The idea is that when you mouseover one submenu (or rectangle, to keep it simple) that the rectangles which were previously covering it will move to reveal it. If you want an idea of what I'm talking about, menus of this type can be found at the bottom of nvidia's[COLOR=blue ! important][COLOR=blue ! important][/COLOR][/COLOR] site ([URL]) for reference.
At first I tried creating each function, which will make the rectangles move, separately but this resulted in three very repetitive functions and there seemed like there should be a better way, especially since I'd like a good way to add and remove submenus. The animation did work then. I tried to clean it up by creating a for loop that would move each rectangle but now, for some reason, it doesn't work. It is still missing some key points such as utilizing the mOver variable to figure out when each rectangle is moused over Here is the code so far and the very sparse file is attached.
[Code]....
I've created a rotating navigation menu with 4 parts/submenus. I'm having trouble of figuring the following:
1. To make the rotation/spinning graphics look smoother
2. On rollover of one of the submenu/movieclip (the rotation will stop and continue on rollout), it should hide/decrease the alpha of other submenus, so a rollover effect could be seen. I've already tried with this:
Code:
_parent.MCInstanceName._alpha = 30;
But when on mouse rollout, the hovered submenu/movieclip does not continue to rotate.I've attached my source files if you guys want to have a look at it. Please help me, because I am pretty much a newbie at AS and I'm hitting a dead end.
I have been following and bastardising a computer arts tutorial for a dynamic flash site, its a really good tutorial and I'd like to keep going with that format/style, but I'm pretty new to the whole scripting thing and am finding it a bit of a headache, so was wondering if any kind souls would help me work out how to add submenus to the code below.the main menu button is a movie file(btn_projects_main) consisting of a button (button) and a text box(txt) and is 3 frames long to allow for the different states: What I'm looking for is a set of sub menus which load horizontally below the main menu buttons, here is the code which has been altered slightly (thanks to Ned Murphy for his help and patience with that)
// Setup some initial variables
// Hide the button that will display a web link_root.theUrl._visible = 0;
// Hide the image icons in the project loader// The image icons are simply there to make
[code].......
I wan to create Drop-Up menu in flash with AS-2. see the attachment or go thorugh this link [URL] , i want to create some thing like this type of Drop-Up menu.
View 1 Repliesi found a xml drop down menu on the internet. The layout is generated by actionscipt and XML. (menu.xml) Now i want to attach a movieclip to the menuitems. Can anyone edit this script with a homemade MCHere is the actionscript:
Code:
this.unDeployedFormat = new TextFormat();
this.unDeployedFormat.font = "Verdana";
[code]....
Tell how to create a drop down menu..?
View 5 Repliesim trying to create a simple drop down menu. this is the code I have typed out so far.
menu_mc.visible = false;
nav_btn.addEventListener (MouseEvent.ROLL_OVER, buttonHandler);
function buttonHandler (evt)
{
[code]....
What I am trying to acheive is that when the mouse rolls off the button, the menu disappears, the same when the mouse rolls of the menu, the sticking point is the rolling off the button to make the menu disappear.
I wan to create Drop-Up menu in flash with AS-2. the attachment or go thorugh this link [URL]..i want to create some thing like this type of Drop-Up menu.
View 2 Replieshow to create a drop down menu in Flash AS2 that drops vertically and can go horizontally as well.
View 3 RepliesI have been trying to create a simple quiz with a drop down menu
i have 8 errors and I cant figure out how to correct them so the way this quiz is suppose to work is you select the right answer goes to a congrads page
[URL] how the navigation/drop down menu on this site was created--from a technical stand point? I'd like to try something similar, but don't know where to start i.e. how are the elements of the menu situated on the timeline? What sort of actions are behind the buttons? Etc...
View 14 RepliesI am using a drop down menu, with all its code written in .js file. I have a flash on my website. The drop down menu shows more content when you hover on top of any category, but this additional content is hiding behind the flash file, the flash file is over lapping the drop down menu content
View 2 RepliesI have an iframe to a page where a Flash swf file is running; does anybody have an idea how to make it transparent so that my drop-down menu should be shown perfectly? Kindly be informed I can't edit the source page (add param = wmode, value = transparent to the Flash object), only if there is any chance to make it possible in iframe or some JavaScript on my page, I have already tried allowtransparency="true" and background-color="transparent".
View 4 RepliesI am running flash through an xml page. The page is a xml generated photo gallery per-say, and I can make it work for the 1st page, but not the sub menus.
XML PAGE
Code:
<title_submenu><![CDATA[APPETIZERS]]></title_submenu>
<content_submenu>dyn_xml_gallery.swf</content_submenu>
In the dyn_xml_gallery .fla file, I have it picking it up from
ActionScript Code:
xmlCategory.load ("dyn_xml_gallery_xml/categories.xml");
The main page picks this up just fine, and shows the pictures as I have listed. But on the submenus, I have the same thing but just different names. So instead of being dyn_xml_gallery.swf, it's now dyn_xml_gallery2.swf.
And in the actionscript, it's picking it up from dyn_xml_gallery_xml2.
With everything renamed and linked to the right object.. any ideas as to why my submenus are still picking up the original file, and not (in this case) my dyn_xml_gallery_xml2.
I have a drop down menu created by Fireworks, the menu drop down list disappears behind a Flash file, pls. let me know what I need to do to fix the problem.
View 2 Replieshow 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 RepliesIs it possible to pull questions from a data file into flash without having to create new frames for every question. This would be a multiple choice test. We currently hand type the questions into multiple frames and grade at the end.
View 1 RepliesHow do I set up my drag and drop questionaire to export to a XML file?
I have a 70 seperate SWF files that pose a question and contain a drag and drop rank order response of 1,2,3,4.How do I set up a XML file that receives the responses.I don't understand how to do the Actionscript and get my responses to connect to the XML.
[Code]...
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 Repliesive 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 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 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 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 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 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 have been trying to understand how to create a url link with the xml file that my menu is driven by. what I have is a menu with text amd images reading from an xml file, I have created a third text field which I would like to use as a button/link that when click it goes to a url.[code]but this doesn't seem to work, am I missing something within the flash movie.URL...
View 1 RepliesI 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