Can we dynamically create menu bar.

0 views
Skip to first unread message

Gerald Anto

unread,
Oct 31, 2009, 1:44:34 AM10/31/09
to flex_delhi_india_group
Can we dynamically create menu bar.

actually my requirment is, i have 3 buttons

admin
user
client

i need separete menuitems in menu bar
for ex
if i enter admin

MenuItemA,menuItemB,menuItemC(with sub menu) are only available

if i click user

MenuItemA,menuItemB(with sub menu) are only available

if i click user

MenuItemA,menuItemB,menuItemC,menuItemD(with sub menu) are only
available

is it possible?
if so help how to create it

Thanks&Regards,
Gerald A

amit pandey

unread,
Nov 2, 2009, 11:34:10 PM11/2/09
to flex_delhi_india_group
Dear Gerald,

You hv two options to solve such problem, either create menus user
wise or create all the menus and remove them user wise.

Like You can add all the menus in the menu bar and on every user click
you can set their visibility or you can remove them from the menu bar.

Let me know if you find any issue in it.

Thanks and Regards
Amit Kr Pandey

John Barrett

unread,
Nov 2, 2009, 11:58:20 PM11/2/09
to flex_delhi_...@googlegroups.com
Can somebody please help me?
I use snow leopard on Mac OS X 10.6.1 I have java 1.5 & java 1.6 I needed java 1.5 for ColdFusion 9 beta, but now I don't think that I need it anymore.
I have no idea how to delete the java 1.5, and I am unsure if I do delete it if this will cause problems. I am not  a java dude, but I hope somebody is`-`

my problem is Flex 3 & flash Builder beta 2 does install, and I can usually run it in code mode (crashes sometimes, but usually is good), but if I switch to design mode it crashes right away. is this a java issue or is there something else going on?
I kind of need the design view as I am trying to learn flex.

I have posted a bug on adobe, and asked in the forms:

this post as my error logs.

error logs:
My laestest error log FlashBuilder beta 2:

 

for Flex 3:

Has anybody gotten flex to work in snow leopard?
If anybody can help, I would be grateful`-`
Thanks,
Johnny`-`

John Barrett

unread,
Nov 2, 2009, 11:58:44 PM11/2/09
to flex_delhi_...@googlegroups.com
Can somebody please help me?
I use snow leopard on Mac OS X 10.6.1 I have java 1.5 & java 1.6 I
needed java 1.5 for ColdFusion 9 beta, but now I don't think that I
need it anymore.
I have no idea how t delete the java 1.5, and I am unsure if I do
delete it if this will cause problems. I am not a java dude, but I
hope somebody is`-`

my problem is Flex 3 & flash Builder beta 2 does install, and I can

usually run it in code mode, but if I switch to design mode it crashes

right away. is this a java issue or is there something else going on?
I kind of need the design view as I am trying to learn flex.

I have posted a bug on adobe, and asked in the forms:
http://forums.adobe.com/message/2360007#2360007

this post as my error logs.

Gerald Anto Fernando

unread,
Nov 3, 2009, 12:06:11 AM11/3/09
to flex_delhi_...@googlegroups.com
ok Amit i will try
thanks
Gerald A
--
Thanks & Regards,
A  Gerald

AMIT PANDEY

unread,
Nov 3, 2009, 12:49:17 AM11/3/09
to flex_delhi_...@googlegroups.com
ur welcome buddy!

Cheers!

Regards
Amit Kr Pandey

John Barrett

unread,
Nov 4, 2009, 3:27:11 AM11/4/09
to flex_delhi_...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages