|
|||
|
I want to let users right click on a movieclip and have a context menu that lets the users select actions for that movieclip (like copy, change color, lookup value,...)
The context menu should be different according to which movieclip is clicked Is it possible with swfkit to build such a control? |
|
|||
|
Code:
import SWFKit.*;
var fp = new FlashPlayer;
fp.setEventHandler("onContextMenu", onContextMenu);
fp.Release();
function onContextMenu() {
if (mc1.hitTest(_xmouse, _ymouse, false)) {
Dialogs.msgBox("hit!");
}
}
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|