I've currently worked around this issue by punching a small hole at
the registration point of the cursor movieclip. This allows the mouse
click to pass through to whatever is directly underneath the cursor. 

My theory is that the cursor movieclip is not a descendant of the
application instance on the display list, so it is not using the
Application context menu (I set the menu on the Application instance).
Is there a "_root" equivalent where I can set the context menu? I know
the stage cannot have a context menu applied, and I cant think of
anything else.

I'm going to go with this for now, but if anyone knows a better
solution, please let me know.

Thanks again,
David


--- In [email protected], "davcavs" <[EMAIL PROTECTED]> wrote:
>
> Hi, 
> In my Flex 2 application I have a custom context menu, and I
> occasionally set a custom cursor. When the user right-clicks when the
> custom cursor is set, the default context menu is shown, not the
> custom context menu.
> 
> This seems to only happen when the custom cursor exists under the
> mouse coordinates. The problem can be seen on this page:
> http://www.adobe.com/devnet/flex/quickstart/controlling_the_cursor/
> 
> On examples on that page, if you set the "busy" cursor, notice you get
> the default context menu. When you set the custom hourglass cursor,
> you don't, presumably because it is offset away from the mouse
> coordinates. In my app, the custom cursor exists under mouse
> coordinates, and like I said, the default menu is shown.
> 
> The cursor I am using is embedded from a Flash 9 SWF, and in the class
> definition for the symbol, I have tried changing the contextMenu and
> disabling mouseEnabled, to no avail. 
> 
> Since my custom cursor is a magnifying glass, I really don't want
> "Zoom In/Zoom Out" on the context menu. Am I missing something? Has
> anyone overcome this?
> 
> Thanks,
> David
>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to