|
|||
|
Do you mean the context menu?
Code:
FlashPlayer.onContextMenu = function ()
{
***var menu = new Menu;
***menu.createPopupMenu();
***menu.appendItem("id0", "item 0");
***menu.appendItem("id1", "item 1");
***menu.appendItem();
***menu.appendItem("id2", "item 2");
***menu.appendItem("id3", "item 3");
***
***var id = menu.show();
***if (id == "id0") Dialogs.msgBox("item0 clicked");
***else if (id == "id1") Dialogs.msgBox("item1 clicked");
***else if (id == "id2") Dialogs.msgBox("item2 clicked");
***else if (id == "id3") Dialogs.msgBox("item3 clicked");
}
|
|
|||
|
Do you mean that you want to launch a swfkit menu when click an item in your movie(a button for example)?
That's easy, add a fscommand in your movie like Code:
fscommand("ffish_run", "showMenu");
|
|
|||
|
no I mean that I want a menu on top of my swf when I right click on the app.
If I use the normal flash menu and programme it in flash it will only show if you click on some grafix because I have a transparent movie. And because the 'grafix' in my movie are moving and actually not always shown I wonder if its an idear to have a menu build by swfkit |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|