Actionscript 3.0 :: Xml Accordion Menu That Has Main Menus / Sub Menus Buttons With A Mask

Feb 3, 2009

I'm trying to create an xml accordion menu that has main menus and a sub menus buttons (movieClips) revealed with a mask. Simple question, How do I stop the mask area which reveals the sub menus catching mouseEvents on the submenus?The main menu button is a movieClip, it has the mask sprite attached to it as a property so it can scale dynamically to reveal the subMenus. They are set as children of the main menu button container. In my code I've set mainMenu.mouseChildern = true. But when the mainMenu is clicked I change mouseEnabeled = false to help prevent the main menu receiving events. This helps on rollOver rollOut events, but when I click or mouseDown on the subMenu the mask catches the event also and activates the main menu again. I've tried the obvious mask.mouseEnabled = false; mask.mouseChildern = false; mask.hitArea = null; and even setting mask.alpha = 0 but this has no effect at all.

I don't understand why the mask has to extend the hitArea property of the mainMenu and why this can't be set to null. It also seems crazy that when mouseChildren = true the parent clip also has to receive notice of the event.

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Drop Menus With A Mask?

Sep 3, 2009

if the mouse is under the button (outside the mask) the button still activatesis there a way I can create a shape &/or script to "mask" the EventListener much like how the graphic is masked?(the space under the buttons will eventually contain random photos)

currently the menu uses this script:addEventListener(Event.ENTER_FRAME,upyoga);
stop();
var speed:Number=.3;

[code]......

View 5 Replies

MovieClip - How To Link Main And Sub Menus

Dec 20, 2011

I've set of drop down menu which I build in Movie Clip. Things work well and the sub menu working properly. But my problem is how do I want to linking it each of the menu and subs. The problem is, all my frame and everything is inside the Movie Clip and my content of the website is outside the Movie Clip. So, how I want to navigate the button.

View 1 Replies

ActionScript 3.0 :: Menu Structure - Create A Menu With Sub Menus ?

Dec 20, 2009

i want to create a menu with sub menus but i don't know what's a menu structure and how can i create it

View 3 Replies

ActionScript 3.0 :: Making Drop Down Menu With Sub Menus?

Feb 19, 2009

I made a drop down menu with sub menus. It is a movie clip. When I drag my movie clip menu to the main timeline I don't know how to make the buttons manipulate the main timeline. Like going to a certain frame. Everytime I put code on the movie clip, it manipulates the movie clip itself. Is there a trick to this?

View 1 Replies

ActionScript 3.0 :: Get External Swf Menus To Commuicate With Main Swf Using Swfaddress?

Aug 23, 2011

I'm implementing swfaddress in my project, which starts with a main swf with various menus. When a menu item is clicked, it signals a url change, and the url change loads a corresponding external swf. All works swimmingly here. But... what if I wanted to have another menu from within the loaded external swf, and have that have its own loaded external swfs, url change etc, as well? For example, on my home page, there is a menu item called "news". Once "news" is clicked, the url changes and loads a "news.swf" into a holder on the main swf. Now, in the "news.swf" there is yet another menu, this one with two buttons: one button says "Article 1" and the other "Article 2" and each would signal a URL change and load "article1.swf" and "article2.swf" respectively when clicked. Is there a way to get the menus on the external swf to communicate with the swfaddress that is happening from within the main swf so that every swf has it's own url address and different events triggered by that change?

[URL]

View 1 Replies

ActionScript 3.0 :: Making A Tree Style Menu With Sub Menus

Sep 19, 2007

I noticed there was no tree component in AS3. I plan on making a tree style menu with sub menus and stuff so should I just do this project in AS2 or is their something I can make similar to a tree component in AS3?

View 7 Replies

ActionScript 2.0 :: Horizontal Scrolling Menu With Vertical Drop-down Menus?

Aug 11, 2010

I have designed a horizontal scrolling menu that currently contains buttons that load external swfs when pressed. Works great.What I'd like to do is have the buttons open vertical drop down menus instead of loading external files.

View 0 Replies

ActionScript 2.0 :: Rotating Menu - Components To Building Menus Similar?

Jun 12, 2006

Does anyone know of any other tutorials or components to building menus similar to these..[URL]...

View 2 Replies

ActionScript 1/2 :: Flash Website / Linking Drop Down Menus To Main Page

Nov 17, 2010

I am making a website purely on flash (actionscript 2.0), for a school project, and I have set up one frame for each page. I also made a drop down menu, but unfortuantely I can't link them to the actual pages, since the drop down menu is a movie clip, if I use an actionscript such as:[code]it goes to the 3rd frame in the movie clip and not the main scene.

View 3 Replies

ActionScript 2.0 :: Sliding Menus With Subtext Or Buttons?

Mar 2, 2007

I have sliding menus. They are movieclip with a rollover state on the back panel. You can view it at: [URL]

Now... the problem is that when I place submenus in this movieclip, whether it is a button or text with a link, it acts as a RollOut of the movieclip. What's up with that? I've tried the getBounds method, but it's just not smooth or fast enough.

View 3 Replies

ActionScript 2.0 :: Menu - Give A Specific _x And _y Coordinates For The Menus To Move At When The Other One Is Clicked

Aug 18, 2004

for a menu i use 3 MCs, when you click one of them, the two others MCs will make place for the 'options' of the clicked menu. What i want to do is give a specific _x and _y coordinates for the menus to move at when the other one is clicked (start and arrival, and have a motion tween between them). see what i mean?

View 4 Replies

ActionScript 3.0 :: Buttons To Call PDFs Of Menus - Error With URLRequest

Sep 9, 2010

Basically im building a site and using buttons to call up PDFs of menus. Found some code and adapted it to suit, but am getting some errors:
desc: 1137: Incorrect number of arguments. Expected no more than 1.

import flash.net.URLLoader;
cafe_btn.addEventListener(MouseEvent.MOUSE_DOWN, buttonclicka);
function buttonclicka(event:MouseEvent):void {
var homeLink:URLRequest=new URLRequest("menus/cafe.pdf","_blank");
navigateToURL(homeLink);
[Code] .....

View 2 Replies

ActionScript 2.0 :: Flash Menus - Produce A Flash Menu Similar To Those On 2advanced.net?

Sep 20, 2004

how to produce a flash menu similar to those on 2advanced.net and url....? Is each option (and it's submenu) a separate movie clip or is there some complicated actionscript involved? I am a fairly new flash user.

View 3 Replies

Cool Sites And Menus And Everything?

Mar 27, 2009

I found this site. It has a lot of cool usefull stuff, plus you can put on your own stuff and sell it.

View 1 Replies

Dropdown Menus Sticking?

Sep 3, 2010

My question is in relation to AS3 dropdowns. You can check the page at: http:[url].....Under the "Visitors" and "Media" links, there are mouseover dropdown menus. You'll notice that they stick a little bit, and to make them go back up, you really have to hit very specific hit areas. I'm not sure what I'm doing wrong.

View 2 Replies

Asp.net :: Mvc 2 - Swf Flash Sits Over Top Of Menus?

Jan 9, 2011

I have a swf file that my graphics designer has created for me that is placed on my intro page of my asp.net mvc website. The problem is that when the site is viewed with Internet Explorer (works as it should in firefox) the flash image sits over the top of my dropdown sub menu's (menu's at top of page that when user hovers mouse over they expand a sub menu).

[Code]...

View 1 Replies

ActionScript 2.0 :: Inactivate All The Menus?

Jul 16, 2003

1) I have a set of menus (movieclips) with 2 states: active and inactive (frame labels). I want to be able to inactivate all the menus but the one clicked. Let's say I have 3 menus and that are called m1,m2,m3.

2) The syntax for m1 would be something like this: (all inactivated and then the one clicked is activated)

on(release){
for(i=1; i<4; ++i){
menu="_parent.m"+i;[code]....

I know just doing this down here it works but I want to automate it...what if we had 30 buttons? The problem i menu.gotoAndStop ("inactive"). Menu gets the proper content in the loop..that is.. _parent.m1 , _parent.m2, _parent.m3.
/
_parent.m1.gotoAndStop("active");
//_parent.m2.gotoAndStop("inactive");
//_parent.m3.gotoAndStop("inactive");
}

View 14 Replies

IDE :: Add Drop Down Menus In Flash?

Feb 19, 2011

a friend of mine wants me to change up his flash website template a bit. He has a horizontal navigation bar at the top with links but he wants me to change them into drop down menus so he can have additional links, I have the original fla files and everything too.

View 2 Replies

ActionScript 2.0 :: XML Menus: Adding Second Sub?

Oct 27, 2004

I'd like to add an extra set of buttons that extend from the submenus, so basically a sub-sub, or second sub if you will. How can I do this from the FLA I have. I've attached the files (FLA MX/XML) if you fancy a go, and I've already done the XML file to include a "secondsubmenu" entry...

View 1 Replies

ActionScript 2.0 :: Create An Accordion Menu With Out Using The Accordion Component?

Mar 6, 2007

how to create an accordion menu with out using the accordion component.

View 14 Replies

AS2 :: Make Multiple Xml Menus LoadMovie?

Jun 16, 2009

I start with this [code]...

//but now I don't know how to work out which thumbnail is clicked _level0._level0 is the only output I can get for it

View 1 Replies

ActionScript 3.0 :: Multiple Menus Containing Options?

Jun 6, 2010

I have 3 menus, each with 4 different options (clickable buttons). Depending on what you selected in each of the three menus you get a specific resulting image.

View 1 Replies

Professional :: Add Drop Down Menus In Flash?

Feb 19, 2011

Anyways a friend of mine wants me to change up his flash website template a bit. He has a horizontal navigation bar at the top with links but he wants me to change them into drop down menus so he can have additional links, I have the original fla files and everything too.

View 1 Replies

ActionScript 3.0 :: Hide The Let Top Menus In Swf File?

Nov 28, 2011

I used the code fscommand("showmenu", "false");
 
its woking fine with fp9 as3
 
but problem with fp10 as3

View 1 Replies

Change Color Of Hover Over Menus?

Jun 9, 2011

I have figured out how to do most items I have needed to change in a template I purchased, but I'm stumped on this one. How do I change to hover over color of menu items? I can supply the fla and flv files if needed. I just don't know which item(s) I should be working on in the library to do what I want to do.

View 5 Replies

Flash :: CSS Menus Hidden Behind Iframe?

Dec 8, 2010

my css drop down menu is hidden behind a flash element I have on my site. I have tried changing the z index but still nothing. Please help.... here is the page.[URL]..

View 3 Replies

ActionScript 2.0 :: RollOver Menus Along With RollOut's

Feb 18, 2009

so I'm currently working on a project where I will have the user mouse over an image (in this instance, a paint can) and ideally a menu should scroll up with information (which is a movie clip) and when the mouse comes off the menu would scroll back in. What I've currently got going is the paint can image as a button, and on another layer I've got the movie clip at 0% opacity. The action itself works, but the point in which the user has to mouse over is very finicky. There must be something I'm missing. I've worked with Flash years ago, so I'm a bit choppy.

[Code]....

View 0 Replies

ActionScript 3.0 :: Create Drop Down Menus?

Mar 15, 2011

Flash Files/homenavmenucs4.rar(put http: before the link)I'm trying to find the correct place to put my drop down menus inside of. within what symbol do i need to create the menus?

View 1 Replies

ActionScript 2.0 :: Set Up Drop Down (or Pop Up) Menus In Flash?

Apr 13, 2011

how to set up drop down (or pop up) menus in flash? I've tried several and get stuck at various points.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved