Solved

Flex - multi level context menu

Posted on 2010-11-10
2
870 Views
Last Modified: 2012-05-10
Hi All,

I'd like some help/direction on creating a multi level context menu.

I have got the code for adding items to the main menu working:
var item:ContextMenuItem;
item = new ContextMenuItem("MyMenu",true,true,true);
item.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT,myMenu);
Application.application.contextMenu.customItems.push(item);

Open in new window


Problem now is that I want a few levels to the context menu:
MAIN -> Item 1
              Item 2
              Category 1 ->
                        Item c1-1
                        Item c1-2
              Category 2 ->
                        Item c2-1
                        Item c2-2
                        Item c2-3

Open in new window



Any help and examples appreciated.

Thanks
           
0
Comment
Question by:Pete2003
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 17

Expert Comment

by:deepanjandas
ID: 34100730
As far as I know, You cannot do multi-level content menu in Flash.

Warm Regards
Deepanjan Das
http://deepanjandas.wordpress.com
0
 
LVL 17

Accepted Solution

by:
deepanjandas earned 500 total points
ID: 34100738
Instead you may use the Menu Component and open it up on normal left click and do a multilevel hierarchy.

Warm Regards
Deepanjan Das
http://deepanjandas.wordpress.com
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
In this blog post, we’ll look at how ClickHouse performs in a general analytical workload using the star schema benchmark test.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question