Hi

I'm trying to create a context menu that can be controlled dynamically (these commands are available now) AND does not depend on cursor location (where it is clicked does not matter). (AS3)

I want the menu logic tied to the app logic, not the current display list.

I have a background sprite whose contextMenu property changes with the nav. But different content is constantly loading and unloading, and if you right-click on these transient sprites, their uncustomized menu drops down instead of my default dynamic/global menu.

Short of setting the contextMenu property of every single sprite that appears, what can I do to ensure that my menu comes up every time?

I have some unpromising ideas (like capturing bubbling mouseDowns, sifting for right-clicks, getting the original target, changing its contextMenu...) but before I go down the garden path, I was hoping that I missed something obvious (I'm new to ContextMenu).

Thanks

Matt




_______________________________________________
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