|
Project Information
Members
Featured
Downloads
Wiki pages
Links
|
Current Version - 0.6.2Javascript and Actionscript 3 code to enable a custom made right-click events in Flash / Flex. ReferencesThis solution is integrated into Adobe Captivate 4 as a default method for capturing right click events in Actionscript3 / Flex based movies. More information: http://blogs.adobe.com/captivate/2009/01/adding_rightclick_in_captivate_1.html About The ProjectThe idea is fairly simple: 1-Use Javascript in the HTML container page to disable the right-click on top of the SWF. 2-Capture the event and pass it to a function that communicates with Flash via the External Interface 3-In Actionscript the function called from Javascript does whatever you need to display your own custom context-menu. Check out the download section for source code and working demo. |