Abdul, Thanks - yes, the positioning is absolute but no - the wrapper's width/height attributes are the same as the mxml width/height. And you can get the flash context menu from anywhere on the screen that there isn't a UI item. Basically the controls are resting right on top of the application - there's no intermediary container. It seems like the reference you get to the application (Application.application) is still one level (or so) down from the player itself. How do you get a reference to the player so you can set its context menu? Jeff -----Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Abdul Qabiz Sent: Wednesday, January 24, 2007 3:02 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Can't seem to customize Flash ContextMenu
It should work. But I am guessing that your Application has absolute width/height specified in your MXML. And your html-wrapper has different (greater) width/height. That's the only case, in my opinion, when flash-player's stage gets exposed. Try to keep the dimensions specified in MXML and HTML same. -abdul On 1/25/07, Battershall, Jeff < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: I've got an app which I create a custom context menu for during initialization, but I've noticed that the context menu only shows up when I right click on UI objects (Tree, ApplicationControlBar, etc). but still I get the default Flash context menu when I right click on the background of the app. I've tried setting my custom menu to Application.application.contextMenu, but the behavior is the same. What am I missing here? Jeff Battershall Application Architect Dow Jones Indexes [EMAIL PROTECTED] <mailto:jeff.battershall%40dowjones.com> (609) 520-5637 (p) (484) 477-9900 (c)