ActionScript 3.0 :: Multiple Menus Containing Options?
Jun 6, 2010I 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 RepliesI 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 RepliesI 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
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.
I followed a tutorial at lynda.com about a popup menu in flash mx.The submenus were surrounded by invisible buttons so that when you rolled over them (i.e. outside of the drop down menus) the sub menus became hidden.The last bit on the tutorial said..... if you have multiple menus this would be slightly different and involves using "with".
It ended there, and that's precisely what I need.. I'd like to make 5 or 6 drop down menus closely spaced and horizontally placed across my movie.. anyone have an .fla with this? or perhaps a tutorial? I've searched everywhere...
I get the feeling this problem is anything but complex, but I can't seem to pull it off.
I have an array that contains search results and looks like this:
array[x].id :Number
array[x].sectionID :Number
array[x].occur :Number
array[x].title :String
etc...
I want to sort it by sectionID ASC and occur DESC (occurances). What I read in the documentation is that I can sort on multiple fields like so:
array.sortOn(["sectionID", "occur"], options);
But I need to specify different options for each fieldName while it seems the function only allows for one set of options.
I have an array that contains search results and looks like this:
array[x].id :Number
array[x].sectionID :Number
array[x].occur :Number
array[x].title :String
etc...
I want to sort it by sectionID ASC and occur DESC (occurances). What I read in the documentation is that I can sort on multiple fields like so:
array.sortOn(["sectionID", "occur"], options);
But I need to specify different options for each fieldName while it seems the function only allows for one set of options.
I have navigation set up, where on rollover of each button 3 separate movieclips are affected. On release another movieclip is effected and a swf is loaded. Fine so far - here is the code (where the first mclip is where the buttons are located and the command goes to a frame in that mclip, the 2nd mclip is called 'copy' and the 3rd is called 'date')(the mclip effected on release is called 'overs'):-
[Code]....
I have navigation set up, where on rollover of each button 3 separate movieclips are affected. On release another movieclip is effected and a swf is loaded. Fine so far - here is the code (where the first mclip is where the buttons are located and the command goes to a frame in that mclip, the 2nd mclip is called copy and the 3rd is called date)(the mclip effected on release is called overs):-
[Code]...
The last time i put a problem on to this forum, i also spent a long time pasting my code and trying to describe my problem in detail, i then received an email from someone asking me what my problem was! Please only reply with questions based on what i've put here, if it doesn't make any sense to you then don't worry about it. If it does make sense to anyone out there tho, or if you have a better way of turning rollover states on and off, please dont' hestitate to get in touch with me.
Im building a program that queries a database for options and displays the options in a number of comboBoxes. The comboBoxes are dynamically built and loaded via code and added to the stage. I would like to build the comboBoxes into a single movie clip (maybe not the correct wording) so I can use options like tweening and such to make it look better. The code is below.
package classFiles
{
import flash.display.MovieClip;
[code]....
: Flash Media Interactive Server. Hi, Im curious if we can publish on multiple sites, I have 5 websites all password protected for members, and I want all 5 members areas to be able to view my live video as I publish it. So can I embed the flash player on all 5 sites and have it pick up the same live feed. Also was wondering if interactive server supports or has a chat box, so students can type questions as I am explaining things live. And One last question Can I stream my video from different computers or can I only use one ( the one I register it on ) I want other teachers to be able to use thier webcams from there homes and publish live videos as I do on my sites. ( At different times of course )
View 1 RepliesIs it possible to have a context menu on a multiple frame movie with all the options except next, prev and play..?I want to have zoom in/out but not next/prev..
View 3 RepliesI found this site. It has a lot of cool usefull stuff, plus you can put on your own stuff and sell it.
View 1 RepliesMy 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 RepliesI 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]...
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");
}
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 RepliesI'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 Repliesif 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]......
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 RepliesI used the code fscommand("showmenu", "false");
its woking fine with fp9 as3
but problem with fp10 as3
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 Repliesmy 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 Repliesso 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]....
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 Replieshow to set up drop down (or pop up) menus in flash? I've tried several and get stuck at various points.
View 1 RepliesWhat I am trying to do is have the pages animate out when you click on a different menu item, it would just disappear and tween in the next animation.The site is setup so the buttons are all on the main page, when you click a button the buttons fly away and the content flies in. There is a back button on the content box that makes the content fly away and the buttons fly back in.Here is the code I used to get it to work, this code is for a site I'm currently working on, this is the main page AS:[code]However the site keeps working perfectly, it just tosses this error in the output tab.There is also a strange delay after clicking away back to the main page.
View 3 RepliesI'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 Replieshow to make floating menus or could give me a tutorial
View 11 RepliesI want a pull out folder-style menu that scrolls out WITH the content as well. When one tab is out and another is clicked, I want the tab thats no longer used to close itself.
View 3 RepliesI followed this and was experiementing with it. http:[url]....I can't seem to get the menus to return onmouseout on if the flash is clicked again does it return
View 2 Replies