Saturday, December 9, 2006, 3:04:41 AM, you wrote:

> var cm:ContextMenu=new ContextMenu(cmHandler);
> function cmHandler(){
>         trace("menu open");
> }
> var item1=new ContextMenuItem("item 1", itemHandler);
> item1.value=1;
> cm.customItems.push(item1);
> function itemHandler(obj, item){
>         trace("item value: "+item.value);
> }
> this.menu=cm;

Thanks!!

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to