Re: [flexcoders] ContextMenuItem with a checkbox ?

2009-01-21 Thread Haykel BEN JEMIA
There is already support for checkbox menu items. Just set their 'type'
property to 'check'.

Haykel Ben Jemia

Allmas
Web  RIA Development
http://www.allmas-tn.com




On Mon, Jan 19, 2009 at 11:57 PM, Michael Pelz-Sherman 
mpelzsher...@gmail.com wrote:

   Hi again,

 I thought I'd try extending the ContextMenuItem class to provide this
 behavior, but according to the compiler, the ContextMenuItem class is
 declared final in the Gumbo Flex SDK.

 I found a post from 2006 that shows ContextMenuItem being extended:


 http://www.bigroom.co.uk/blog/custom-context-menu-with-keyboard-shortcuts-in-flash

 Did this change recently? If so, why?

 Thanks,
 - Michael

 --
 *From:* Michael Pelz-Sherman mpelzsher...@gmail.com
 *To:* flexcoders@yahoogroups.com
 *Sent:* Monday, January 19, 2009 2:15:33 PM
 *Subject:* [flexcoders] ContextMenuItem with a checkbox ?

  Hi,

 I'd like to create a ContextMenuItem with a checkbox that toggles some
 behavior.

 Is this possible?

 Thanks!

 - Michael
   



Re: [flexcoders] ContextMenuItem with a checkbox ?

2009-01-20 Thread Haykel BEN JEMIA
http://livedocs.adobe.com/flex/3/html/menucontrols_3.html#410684

Haykel Ben Jemia

Allmas
Web  RIA Development
http://www.allmas-tn.com




On Mon, Jan 19, 2009 at 8:15 PM, Michael Pelz-Sherman 
mpelzsher...@gmail.com wrote:

   Hi,

 I'd like to create a ContextMenuItem with a checkbox that toggles some
 behavior.

 Is this possible?

 Thanks!

 - Michael
  



Re: [flexcoders] ContextMenuItem with a checkbox ?

2009-01-20 Thread Michael Pelz-Sherman
Hi again,

I thought I'd try extending the ContextMenuItem class to provide this behavior, 
but according to the compiler, the ContextMenuItem class is declared final in 
the Gumbo Flex SDK.

I found a post from 2006 that shows ContextMenuItem being extended:

http://www.bigroom.co.uk/blog/custom-context-menu-with-keyboard-shortcuts-in-flash

Did this change recently? If so, why?

Thanks,
- Michael




From: Michael Pelz-Sherman mpelzsher...@gmail.com
To: flexcoders@yahoogroups.com
Sent: Monday, January 19, 2009 2:15:33 PM
Subject: [flexcoders] ContextMenuItem with a checkbox ?


Hi,

I'd like to create a ContextMenuItem with a checkbox that toggles some behavior.

Is this possible?

Thanks!

- Michael