Flash Dropdown Menu Over Html
Hi! Is there a way of having a flash dropdown menu go over the html page and if so what script do i need to use to do this? The dropdown swf is inserted into my html page so i can have the sites text in html - any help muuuuuuuuuuch appreciated!
Martyn
FlashKit > Flash Help > Flash General Help
Posted on: 08-11-2004, 08:14 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Initialise Flash Dropdown Menu In HTML
I am creating an email campaign with a click-through to a contact page on our site. I can initialise the Flash file to go to the contact page direct, but I don't know how to initialise the Dropdown menu component to go to a specific value at the same time. Can anyone help?
HTML Cell Will Crop My Flash Dropdown Menu...
Hi guys,
I´ve made this cool horizontal menu which has an item that displays a dropdown submenu. My flash movie is 60px high, but the dropdown menu is 220 px high... And it appears right on the bottom of the movie. Everything goes well if I play the movie in flash player... However, if put the swf with the menu inside a HTML file (in a 60px high cell), the dropdown will be cropped!
Is there any way to solve this?
Thanks in advance!
Dropdown Menu In Html Is Hidden Behind Embedded Flash Object
i have a dropdown menu which happens to be positioned above a flash banner in my html page. When i hover over the menu option the dropdown is hidden behind the flash. What do i need to do so that the html elements ie the drop down menu options sit on top of the embedded flash? Thanks in advance.
Is There Anyway To Disable The Flash Player Dropdown Menu (not The Context Menu)
Greetings,
I am aware of how to reset the right-click context menu to just "settings", but when the file is opened in Flash Player directly from a computer instead of on the web, the drop-down menu in the player is still available. You can even press ctrl+enter to play. My searches just come up with solutions to the right-click menu, and I have a client who wants me to get rid of this menu for a game I've already made.
If you don't think there's even a way to do this, could you just tell me that so I can inform my client?
Thank you either way
[Using MX 2004 if it matters]
Dropdown Menu Help In Flash MX
Hi,
I'm having serious difficulties trying to make my dropdown menu work. I've gotten the whole movie clip so that when I mouse over it, it shows the other three subcategories, but when I click in either one of them they don't connect to the other scenes of my project...
I've make such sub-buttons to be tracked as menu items, and tracked as buttons and none of these options work. Each one of these sub-buttons have a "on release" action script "to go to and stop" on frame 1 of x,y, or z scenes...
Basically my sub-buttons are dead as a tired donkey!
I need help, I've been dealing with this for weeks.
Thanks community!
Flash Dropdown Menu Help
Hello experts
I bought the flash dropdown menu from www.flashmenufactory.com and when i install the software and start it, i get a message "Cannot Create Active X Component"
I have the latest flash player installed also but i dont know why i get that msg when i try to create a dropdown menu.
Pls help.
Thank You
Flash MX Dropdown Menu
How can I make a simple dropdown menu in Flash, without using XML? I have attached the .fla file. This is for a school assignment, so I need this really soon. I want the boxes below the headings to appear/dropdown when the heading is hovered over. This is targeted at elderly people, so it needs to be simple. Any help would be much apreciated.
~Doo Doo
Flash MX Dropdown Menu
How can I make a simple dropdown menu in Flash, without using XML? I have attached the .fla file. This is for a school assignment, so I need this really soon. I want the boxes below the headings to appear/dropdown when the heading is hovered over. This is targeted at elderly people, so it needs to be simple. Any help would be much apreciated.
~Doo Doo
Flash Sitting UNDER An HTML Dropdown?
I have flash (that lives in a DHTML) layer, that appears after a few seconds. That works fine, the problem is that there is an HTML dropdown menu on the page as well, and it sits above the flash layer. I need my Flash to sit above EVERYTHING on the page. I thought that no matter what, flash will ALWAYS sit on top of HTML in IE.
I searched the threads here in FK and found that what I am having trouble with should not be happening. The threads I have read were from people that did NOT want their Flash to be on top of the HTML drop down, but it was. this is weird...
Please help!
Thanks!
Getting Flash Dropdown To Display Over HTML
I'm sure this is a stupid question, but I'd really appreciate anybody's input.
At http://www.echobloom.com/index2.php I've got a dropdown menu that, with all menu options fully extended is ~210 px tall (the main menu options themselves are only about 35 px tall). I'm trying to get the HTML elements in the page to display directly under the main menu options, as opposed to under the entire menu (which sort of defeats the purpose of the dropdown) - but I can't get my Flash to display ontop of the HTML.
Right now, there are essentially two elements - the Flash menu is in a div, which is at a z:index of 2. The HTML element is in a div with a z:index of 1, position:relative, and bottom:160px;. The HTML keeps appearing in front of the menu. Any helpful ideas?
Flash Movie On Top Of Dropdown Menu?
I have a html document with a javascript drop down layer menu in the top.
Under the menu I have a flash movie.
Problem is:
When I mouse over the drop down menu the flash movie is on top of the drop down so you can't see the menu.
Can somebody help me please??
Regards
Godowsky
Flash Showing Above Dropdown Menu...
I know there is a bit of code that can be added so that the Flash file goes behind dropdown menus, instead of the top layer as it is set for default... What is the code?
Problem With Flash Dropdown Menu
Hi Friends
I am a new to Flash, I have following problem with flash dropdown menu -
I have a flash dropdown menu, when i try to incorporate in my htm page as -
<table>
<tr><td><embed ... menu.swf> </embed></td></tr>
<tr><td><img src="main.jpg"></td></tr>
</table>
the problem is first td automatically increases the height to accomodate full dropdown menu
leaving significant white space between both rows, same problem also comes when the next <TR>
contains some another flash file.
I would like to have dropdown to appear on that image or on flash file as we see normally
thanks in advance
cooldeep
Flash Dropdown Menu Issue
Hey Everyone,
I've got this dropdown menu I've built in flash and it doesn't always drop down on rollover... sometimes you have to rollover it 2x or aproach it from the bottom... its a tricky thing! I can't figure it out....
I'll attach the file; check it out and let me what needs to be tweeked to make it work
Thanks so much in advance.
mark
Flash Blocking CSS Dropdown Menu
I have a flash animation right below my navigation. The nav has drop down menus done in css/html. The flash appears on top of the submenus when they popup.
Has anyone ran into this problem and found a solution.
Z-Index doesnt seem to work.
Thanks
Dan
Problem With Flash Dropdown Menu
Hi Friends
I am a new to Flash, I have following problem with flash dropdown menu -
I have a flash dropdown menu, when i try to incorporate in my htm page as -
<table>
<tr><td><embed ... menu.swf> </embed></td></tr>
<tr><td><img src="main.jpg"></td></tr>
</table>
the problem is first td automatically increases the height to accomodate full dropdown menu
leaving significant white space between both rows, same problem also comes when the next <TR>
contains some another flash file.
I would like to have dropdown to appear on that image or on flash file as we see normally
thanks in advance
cooldeep
Dropdown Menu Hiding Behind Flash Movie
Can anyone help me!!?
I have a dropdown menu using Javascript in an include file for the top navigation of my site, and on the homepage there is a flash movie. When you navigate the dropdowns they appear behind the flash movie? anybody any ideas how to bring them to the front.?
Javascript Dropdown Menu Over Flash Movie
Help please.
I have a flash movie that is located below a javascript drop down menu system. The problem is that the flash movie seems to mask or block the drop down menu. Is there anyway to keep the menu system above the flash?
thanks in adavance.
mr.funk
Javascript Dropdown Menu Over Flash Movie
Help please.
I have a flash movie that is located below a javascript drop down menu system. The problem is that the flash movie seems to mask or block the drop down menu. Is there anyway to keep the menu system above the flash?
thanks in adavance.
mr.funk
Javascript Dropdown Menu Over Flash Movie
javascript dropdown menu over flash movie
Help please.
I have a flash movie that is located below a javascript drop down menu system. The problem is that the flash movie seems to mask or block the drop down menu. Is there anyway to keep the menu system above the flash?
thanks in adavance.
mr.funk
How To Stop Flash Player's Dropdown Menu?
Hi...
What I'm interested in is that... if you click the 'third mouse button' in the Flash player, you get this dropdown menu, with options such as zoom, play, and 'about Macromedia' and stuff.
For some websites, when you click the third mouse button, you only get two options, instead of ALL others... How do we do that?
Flash Covers Dreamweaver Dropdown Menu
Situation:Have page in Dreamweaver MX.
Page has navigation dropdown menu using built-in DW-MX tool.
Beneath this menu, added a Flash animation.
Problem:Animation "masks" the java dropdown menu.
Is there something I can do to remedy the situation?
Many thanks in advance for your help.
Jason Brennan
Information Systems Auditor
Georgia Institute of Technology
Flash Covers Dreamweaver Dropdown Menu
Situation:Have page in Dreamweaver MX.
Page has navigation dropdown menu using built-in DW-MX tool.
Beneath this menu, added a Flash animation.
Problem:Animation "masks" the java dropdown menu.
Is there something I can do to remedy the situation?
Many thanks in advance for your help.
Jason Brennan
Information Systems Auditor
Georgia Institute of Technology
Flash Moive Blocks My Dropdown Menu
Hi,
I have a dropdown menu that is coded by javascript and HTML. Everything works well, such as the hidden/visible layers. However, I have a flash movie below the menu. Whenever the dropdown menu overlaps with the flash movie, the menu will be hidden by the flash movie. I tried to use CSS to set the flash movie to the lowest layer, and made the dropdown menu on top of the flash movie, but the movie still blocks the menu. This only happens on PC. On Mac browsers, I don’t encounter this kind of problem. Does anyone have a solution for me?
Please take a look at the website, then you will understand better.
shiningchinatown.org/AAFE/
Thanks
Yishan
Dropdown Menu Not Showing Over Flash Banner
dear flashkit,
I am making a website with a simple top menu (the links have drop down menus). Right below, i placed a flash banner which plays a short movie. (the structure is similar to the adobe.com site). I have already embedded the flash correctly but my problem is that the drop down menus don't show when the flash banner is inserted in the html page.
For the drop down menus, i used a simple one which i got from dynamic drive.
They work just fine without the flash banner.
Any help would be appreciated.
Tks, intan
[CS3] Dropdown Menu And Flash-banner Problem
Hi!
I have made a flashbanner. You can see it here: www.randersbib.dk (it's the one with the man that looks exhausted).
But there is a anoying problem: When you roll the cursor over the dropdown menu in the top, the parts of the dropdown that crosses the banner disapears behind the banner.
Do anyone know how to solve this problem, so that the dropdown menu wont disapear behind the banner?
Cheers Kasper
Flash Dropdown Menu Links Do Not Work
What I am trying to do is this:
A Flash drop down menu - I have
A MovieClip instance "servicesMCinst" with
CODE
// dropem is a label at frame 10
servicesMCinst.onRollOver = function() {
servicesMCinst.gotoAndStop("dropem");
}
// start is a label at frame 1
servicesMCinst.onRollOut = function() {
servicesMCinst.gotoAndStop("start");
}
END CODE
and similar for another one or two more MC instances.
For each MC at frame 10 (ie. "dropem") I have included some buttons below
each other.
each of the buttons has the code:
CODE
on(release){
getURL("http : // somewhere ");
}
END CODE
When I test, the showing and hiding of the dropdown buttons is fine
BUT
The buttons are not acting as a button acts ie.
There is no change in its mouse normal view vs mouse over view (or mouse
down view)
Also the getURL is not performed.
I guess it is simply just NOT recognising the mouse.
This has caused me so much time and effort, I would so much appreciate any
help you are prepared to give me.
Patrick
Insert Dropdown Menu In Flash File
I have one Flash file that simply has a JPEG map as a background image. Then I have another file with a dropdown menu. Can I save a swf file of the drop down menu, import it into my map Flash file, then place it on top of the map?
If so, please explain how. I've tried importing a swf of the dropdown into the map file library, then dragging it onto the map. However, it imports as a graphic symbol rather than a movie and the dropdown function doesn't work. (The menu works perfectly as a standalone swf).
I would like to keep the menu file separate as I need to make a bunch of different versions of the menu and drop them over different areas of the map.
The end product will look something like this menu that was built for me by a subcontractor. I'm trying to figure out how to do it myself rather than sub'ing it out.
http://www.sandiegohomesbythesea.com/Coastal_San_Diego_Communities/page_1813864.html
Edited: 08/10/2007 at 05:10:36 PM by Suz Stephens
Flash With Javascript Dropdown Menu - Level?
I know the answer to this, but I want to be sure I'm right.
I have a webpage with a JavaScript drop-down menu.
I have flash piece right below that JavaScript dropdown window.
When the user mouses over the JavaScript menu, the menu drops down and disappears behind the flash piece below it so that users cant see the options on the dropdown.
Any idea how to allow the JavaScript to pop up OVER the flash?
I was thinking the answer is: There is no way, as flash retain the top level of an HTML page in order to pass mouse commands.
Ideas?
Thanks
[Flash-AS3.0] Problem With Dropdown Menu Class
Hi everybody! i'm learning how to use classes, and i'm developing a set of classes which construct a "panel-kind" dropdown menu, driven by an XML file...
the concept i'm working on is this:
on the main timeline i have a function that reads the content of the menu.xml file, shown here
Code:
<menuset language="ENG">
<state ID="1" labelColor="0xB3B3B3"/>
<state ID="2" labelColor="0xFFFFFF"/>
<menuSpacing x="10" y="0"/>
<panelOptions alpha="0.5" round="10"/>
<menu ID="1" label=":Bitamine:" panelColor="0x00000" lineColor="0xFFFFFF">
<section label="News" labelColor="0xFF6600" ID="31"/>
<section label="Partners" labelColor="0xFFFFFF" ID="32"/>
<section label="Profile" labelColor="0xFFFFFF" ID="33"/>
</menu>
<menu ID="2" label="Portfolio" panelColor="0x000000" lineColor="0xFFFFFF">
<section label="Graphic" labelColor="0x00FF00" ID="12"/>
<section label="Webdesign" labelColor="0x00FF00" ID="22"/>
<section label="Misc." labelColor="0x00FF00" ID="23"/>
</menu>
<menu ID="3" label="Contact" panelColor="0x000000" lineColor="0xFFFFFF">
<section label="Contact" labelColor="0x0000FF" ID="34"/>
</menu>
<menu ID="4" label="Users" panelColor="0x000000" lineColor="0xFFFFFF">
<section label="Login" labelColor="0xFF0000" ID="41"/>
<section label="Register" labelColor="0xFF0000" ID="42"/>
</menu>
</menuset>
For each "menu tag", the function creates an instance of a "PanelMenu" class, and for each "section tag" of the menu, the PanelMenu creates an instance of a "PanelItem" class, which contains the label TextField and the ID information for the project page to call...
each "PanelItem" creates an instance of a class called "PanelEvent", which dispatches an event containing the ID of the PanelItem clicked... i think is the only way to do it, i am wrong?
i tested the whole system, and everything works as expected, but now i have the problem for which i ask for help here... i have to capture the event where the function for setting the page resides (on the main timeline) and i don't know how to do it...
here is the PanelEvent class
Code:
package {
import flash.events.EventDispatcher;
import flash.events.*;
import flash.display.*
public class PanelEvent extends EventDispatcher
{
public var panelItemID:Number;
public var panelItem:MovieClip;
public function PanelEvent(item:MovieClip, itemID:Number):void
{
panelItemID = itemID; trace(itemID);
panelItem = item;
panelItem.addEventListener(MouseEvent.CLICK, dispatchID, false, 0, true);
}
private function dispatchID(evt:MouseEvent):void
{
trace("Dispatching event for PanelItem "+panelItemID);
dispatchEvent(new Event("PanelClick"));
}
}
}
the tracing of ("Dispatching event for PanelItem "+panelItemID) occurs, and i think also the dispatching o the event, but now, assuming i have to listen to the event to occur by the main timeline, how i have to do it? i think by writing
this.addEventListener("PanelClick", handleClick, false, 0, true)
isn't it?
please, help me understand, i'm new to classes writing, and' i'm stuck on this problem since a week....
any help will be really appreciated! THANK YOU
Question About Dropdown Xml Driven Flash Menu Template
Ok, I have been messing with this flash stuff for a while now,
and I am starting to think I am not cutout for this. Here is my question:
I am working with the stock menu template that comes with flash mx.
I have it basically the way I want it accept I want to use it as a navigation bar (not only to make new browser windows). Can anyone tell me what to do? You can see the failure in action here
This is the attempt of making a new website by someone who would pay for it if he had money
Any suggestions?
Can this be changed in the xml?
I need a whole load of help with this website thing. If anyone is feeling gracious please don't hesitate to contact me.
Many thanks in advance for any help and/or opinions,
Heath
Can A CSS Made Dropdown Menu Overlap Flash Content?
Hi
I've made a CSS dropdown, works fine until i add some flash content to the page, after that the dropdowns go behind the flash instead of above it.
I've tried using Z-index values on both the flash and CSS divs but no use.
Am I trying something thats impossible, can anything overlay flash content?
Flash Forms - Dropdown Menu And Radio Buttons
there are plenty of tutorials out there for flash email forms with input text fields, but does anybody know how to create a form including dopdown menus and radio buttons that you can actually submit through php?
Flash Forms - Dropdown Menu And Radio Buttons
there are plenty of tutorials out there for flash email forms with input text fields, but does anybody know how to create a form including dopdown menus and radio buttons that you can actually submit through php?
[CS3] Trouble With CSS Dropdown Menu Over Flash With XML Image Calls
I'm not all that great with flash, and what I'm doing is fairly simple but for some reason I just can't seem to get it to work right, and can't find the answer I'm looking for.
I have a couple CSS dropdown menus in my navigation, which is directly above a flash player that uses XML to call different images.
The solution I've found was to make the window mode be transparent... and you can see if you hover over either the Products/Services/About Us/Sustainability sections that it works... but only during the transition fade between images. When the images themselves are shown, they sit above the menu.
My thinking is that the flash itself sits behind the menus, but when the images are called upon they raise up above the menus.
Does anyone know the solution? This is driving me nuts
Here is the link to the site: http://www.slatestudio.com/BayCities
Mac Help Needed: Flash Movie Covering Dropdown Menu
Hi there,
I've got an issue with my site displaying improperly on a Mac. The flash movie on the index page is covering the drop-down menus that come out from the left navigation bar.
I was having the same problem on a PC, but someone gave me this great fix:
<PARAM NAME="wmode" VALUE="transparent">
Is there something else I can do to fix this on the Mac side?
Thanks! :)
belvialinda
http://www.ottertechnology.com/index.html
Dynamic Flash Drop Down Menu Created With XML -XML DROPDOWN
I created a drop down menu...it all lines up perfectly, the only problem is when I move the mouse down to the "drop down menu part" it does a rollOut.
Here is the code:
Code:
//Classes
import mx.transitions.Tween;
import mx.transitions.easing.*;
import flash.filters.*;
//Global Placement's Vars
var StW:Number = Stage.width;
var StH:Number = Stage.height;
var StWx:Number = Stage.width/2;
var StHy:Number = Stage.height/2;
var MenuHeight:Number = 16;
var HolderH:Number = Holder._height;
var HolderW:Number = Holder._width;
var HolderBackgroundH:Number = (StH*(3/4));
var HolderBackgroundW:Number = StW*(3/4);
var HolderPosX:Number = StWx-(HolderBackgroundW/2);
var HolderPosY:Number = StHy-(HolderBackgroundH/2);
//Global Placing
Holder._x = HolderPosX;
Holder._y = HolderPosY;
Holder.MainBck._width = HolderBackgroundW;
Holder.MainBck._height = HolderBackgroundH;
Holder.MainBck._x = 0;
Holder.MainBck._y = 0;
//(HolderBackgroundW-(NodeSpace*NodeCount))/2;
Holder.Page._width = HolderBackgroundW;
Holder.Page._height = (HolderBackgroundH*.95)-MenuHeight;
Holder.Page._x = (HolderBackgroundW-(Holder.Page._width))/2;
Holder.Page._y = ((HolderBackgroundH-(Holder.Page._height))/2);
//Global Filters
//var Name:GlowFilter = new GlowFilter(color,apla,blurx,blY,Strength,qual,inner,knockout)
var HolderGlow:GlowFilter = new GlowFilter(0x000000, 2, 10, 10, .6, 2, False, False);
Holder.filters = [HolderGlow];
//Arrays
var TitleNode:Array = new Array();
var URLNode:Array = new Array();
var TitleSubNode:Array = new Array();
var URLSubNode:Array = new Array();
var NodeCount:Number = 0;
var CurrentNode:Number = 0;
var TheXMLsm:XML = new XML();
TheXMLsm.ignoreWhite = true;
TheXMLsm.onLoad = function() {
var RootNode:XMLNode = this;
var home = RootNode.firstChild.childNodes;
var MainNodes = RootNode.firstChild.firstChild.childNodes;
var total:Number = MainNodes.length;
//Main Menu
for (i=0; i<total; i++) {
var NodeSpace:Number = HolderBackgroundW/total;
NodeCount++;
TitleNode.push(MainNodes[i].attributes.title);
URLNode.push(MainNodes[i].attributes.url);
var theNAV = Holder.theNAVholder.attachMovie("Button", "Button"+i, i);
theNAV.CurrentNode = i;
theNAV._x = (NodeCount*NodeSpace)-NodeSpace;
theNAV.NavTxt._width = NodeSpace;
theNAV.NavTxt._height = MenuHeight;
theNAV.NavTxt._y = 0;
theNAV.TextOv._y = 0;
theNAV.TextOv._width = NodeSpace;
theNAV.TextOv._height = MenuHeight;
theNAV.ButtonFade._width = NodeSpace;
theNAV.ButtonFade._height = MenuHeight;
theNAV.NavTxt.text = TitleNode[i];
theNAV.TextOv.text = TitleNode[i];
theNAV.Hidden._width = NodeSpace;
theNAV.Hidden._height = MenuHeight;
theNAV.Hidden._y = 0;
theNAV.onRelease = ButtonOnRel;
//Drop Menu
theNav.trackAsMenu = true;
theNAV.onRollOver = function() {
var theSUBnavHolderClip:MovieClip = Holder.theSUBnavHolder.createEmptyMovieClip("SUBnavHolder", 100);
var SubNodes = MainNodes[this.CurrentNode].childNodes;
for (k=0; k<SubNodes.length; k++) {
var SubNodeSpace:Number = NodeSpace;
var theSUBnav = theSUBnavHolderClip.attachMovie("Button", "SubMenu"+k, k);
theSUBnav.NavTxt.text = SubNodes[k].attributes.title;
theSUBnav.TextOv.text = SubNodes[k].attributes.title;
theSUBnav.onRollOver = ButtonOnOv;
theSUBnav.onRollOut = ButtonOnOu;
theSUBnav.NavTxt._height = MenuHeight;
theSUBnav.NavTxt._width = SubNodeSpace;
theSUBnav.TextOv._y = theSUBnav.NavTxt._y;
theSUBnav.TextOv._width = SubNodeSpace;
theSUBnav.TextOv._height = MenuHeight;
theSUBnav._x = this._x;
theSUBnav._y = k*MenuHeight;
theNAV.Hidden._width = SubNodeSpace;
theSUBnav.Hidden._height = MenuHeight;
theSUBnav.Hidden._y = theSUBnav.NavTxt._y;
}
var twRollOver:Tween = new Tween(this.ButtonFade, "_alpha", Strong.easeOut, this.ButtonFade._alpha, 100, 2, true);
var twRollOver2:Tween = new Tween(this.TextOv, "_alpha", Strong.easeOut, this.TextOv._alpha, 0, 2, true);
};
theNAV.onRollOut = function() {
Holder.theSUBnavHolder.SUBnavHolder.removeMovieClip();
Holder.SubMenuButton._visible = false;
var twRollOut:Tween = new Tween(this.ButtonFade, "_alpha", Strong.easeOut, this.ButtonFade._alpha, 0, 2, true);
var twRollOut2:Tween = new Tween(this.TextOv, "_alpha", Strong.easeOut, this.TextOv._alpha, 100, 5, true);
};
}
Holder.theNAVholder._x = (HolderBackgroundW-(NodeSpace*NodeCount))/2;
};
function ButtonOnRel() {
trace(this.CurrentNode);
}
function ButtonOnOv() {
var twRollOver:Tween = new Tween(this.ButtonFade, "_alpha", Strong.easeOut, this.ButtonFade._alpha, 100, 2, true);
var twRollOver2:Tween = new Tween(this.TextOv, "_alpha", Strong.easeOut, this.TextOv._alpha, 0, 2, true);
}
function ButtonOnOu() {
var twRollOut:Tween = new Tween(this.ButtonFade, "_alpha", Strong.easeOut, this.ButtonFade._alpha, 0, 2, true);
var twRollOut2:Tween = new Tween(this.TextOv, "_alpha", Strong.easeOut, this.TextOv._alpha, 100, 5, true);
}
TheXMLsm.load("xml.xml");
//Right Click
var theMenu:ContextMenu = new ContextMenu();
theMenu.hideBuiltInItems();
_root.menu = theMenu;
var item1:ContextMenuItem = new ContextMenuItem("::Blah::", trace);
theMenu.customItems[0] = item1;
XML:
Code:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<siteMap>
<siteMapNode title="Link X" url="#">
<siteMapNode title="Link 01" url="#"/>
<siteMapNode title="Link 02" url="#"/>
<siteMapNode title="Link 03" url="#"/>
<siteMapNode title="Link 04" url="#">
<siteMapNode title="Link a" url="#"/>
<siteMapNode title="Link b" url="#"/>
<siteMapNode title="Link a" url="#"/>
<siteMapNode title="Link b" url="#"/>
<siteMapNode title="Link a" url="#"/>
<siteMapNode title="Link b" url="#"/>
</siteMapNode>
</siteMapNode>
</siteMap>
Dynamic Menu AS2.0/XML - Seperating Main Menu Title MC From Dropdown Item's MC
Hi everyone, this is my first post in this forum, I appreciate all the help
I've got a dynamic menu using AS2.0 that's being populated by an XML file, it's quite complete and is working fine, the only thing I'm having trouble with is assigning a new MC to the Titles so the visual design (Text and background) can be different from the rest of the dropdown menu.
What would have to be done to capture the menuNodes and isolate them form the rest. Below is the XML that I’m using, the highlighted (red, bold, italic) text below is what I’d like to capture and seperate from the rest of the submenus for the menu title in my flash project.
XML
----------------------------------------------
<?xml version="1.0"?>
<menu name="Atletas">
<menu name="Clubes">
<submenu name=""></submenu>
<submenu name="Botafogo">
<entry name="Player 1"/>
<entry name="Player 2"/>
<entry name="Player 3"/>
</submenu>
<submenu name="Flamengo">
<entry name="Player 1"/>
<entry name="Player 2"/>
<entry name="Player 3"/>
</submenu>
<submenu name="Flamengo">
<entry name="Player 1"/>
<entry name="Player 2"/>
<entry name="Player 3"/>
</submenu>
</menu>
<menu name="Atletas">
<submenu name="Gilberto"></submenu>
<submenu name="Jose"></submenu>
<submenu name="Joao"></submenu>
</menu>
<menu name="Posicoes">
<submenu name="Atacante">
<entry name="Gilberto"/>
</submenu>
<submenu name="Meio">
<entry name="Jose"/>
</submenu>
<submenu name="Zagueiro">
<entry name="Joao"/>
</submenu>
</menu>
</menu>
----------------------------------------------------------
attached is the screencapture of my flash design to understand what I'm talking about a little better.
Thanks for all the help
Drop Down Menu Within A Dropdown Menu
Hi There, I'm new to the forum and to flash - which is what brought me here in the first place!
My question is; I have a dropdown menu which is fine, but now I need to make two of the buttons in the drop down have their own drop down options, My drop down menu is a movie clip with the buttons etc inside the movie clip and I've been trying to put another movie clip inside the origional to try simulate my origional drop down but it just won't work, am I asking too much of flash or is there an easer way to do this?
Dropdown Menu
I want to emulate an HTML dropdown menu.
I know how to script out a scroller, but
I'm having troubles getting the menu to
disappear if nothing's selected (on rollout). Meaning:
I need a simple mouseout piece of scripting
or something. Any ideas?
Using a mousevent doesn't work because I can't put
a button on top of my scroller.
thanks,
fred
Dropdown Menu?
how can I finish my dropdown menu so that the menu which "drops", stays on it`s position when I move my cursor on it and leave the sourcebutton which drops it?
it just pulls back where it came from, quite annoying
XML Dropdown Menu
where can i find a XML dropdown menu similar to the one in the FLASH MX's builtin Templetes . i cant use that one cos it can only go to different url links but i want to traverse thru the frames and scenes. n e idea? urgent
thnx
aLi
|