Page 1 of 1

Question regardin right-click menu

Posted: Sun Aug 01, 2010 10:12 pm
by dxmedia
Hi,

I am experimenting with the demo version, building my application, and can't believe what a lifesaver F-In-Box is.

I would have a question regarding the context menu.

You have included a context menu disable function, which works great, completely removing the context menu.

But...

In the normal flash activex, without a disabled context menu, when you wight click the flash, the event actually arrieves in the swf, and can be intercepted with this:


Code: Select all

// Declare event Handler
var my_cm:ContextMenu = new ContextMenu(menuHandler);
function menuHandler(obj, menuObj) {MyFunction()}
this.menu = my_cm;

// Declare right click Function
function MyFunction(){

}


What I was wondering, Is there a way to disable the context menu "after" it raises the event in the swf so we can interact with the right mouse button ?

Looking forward for your answer.

Best regards,

Re: Question regardin right-click menu

Posted: Mon Aug 02, 2010 7:27 am
by Softanics
Thank you for your question.

dxmedia wrote:What I was wondering, Is there a way to disable the context menu "after" it raises the event in the swf so we can interact with the right mouse button ?


Unfortunaly, no: context menu disabling means that f-in-box doesn't pass any right-clicks to a flash window.

Thank you.

Posted: Tue Aug 03, 2010 2:39 pm
by dxmedia
Thanks Razin,

No problem, I'll just have to completely disable right click for now, but it would be great if you would consider this for a future update.

Best regards,
Dan