Flash - Mengubah klik kanan

Diposting oleh Grindtech 05 September 2009
Disini gw kasih tau rahasia cara merubah menu klik kanan pada file Flash:

1. Buat file Flash
Buka Adobe Flash lalu bikin file baru atau buka file lama yang ingin di edit menu klik kanannya pada file swf nanti.

2. Masukkan Action Script
Klik layer pertama pada frame pertama lalu buka Action Script (F9) dan masukkan kode berikut:


function doSomething(){}
function doSomething2(){
getURL("http://www.domainanda.com", _blank);}
MENU.customItems.push(Functioned2);
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("Title Flash atau Website anda", doSomething);
Functioned2 = new ContextMenuItem("Copyright atau Pesan lainnya", doSomething2);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
_root.menu = MENU;


contoh gambar:


No Responses to "Flash - Mengubah klik kanan"

Leave a Reply