Menambah menu klik kanan

1. Buatlah dokumen baru

2. Klik frame 1, layer 1 kemudian tekan F9

frame

3. Ketikkan script dibawah ini pada panel Actionscript

function doSomething(){}
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem(“JOGJA MULTIMEDIA”,doSomething);
MENU.customItems.push(Functioned);
_root.menu =MENU;

actions

4. Untuk melihat hasilnya silakan tekan Ctrl+Enter kemudian klik kanan

hasil

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.