Mohon Perhatian!

Dikarenakan terjadi beberapa kesahalan code, silahkan setelah membuka read more article dan keluar kotak komentar lakukan stop load (tanda silang di browser samping refresh).
Saya mohon maaf atas ketidak nyamanan kawan kawan blogger yang mampir kesini.
Terimakasih

23 April 2008

Flash ActionScript 2.0 hide context menu


23 April 2008

HIDE CONTEXT MENU DEFAULT AND REPLACE IT TO NEW CUSTOM CONTEXT

Tutorial Original by Ofan (anime7)

in English:
This moment i will describe about hide context menu in a Flash player default setting using insert ActionScript frame timeline in Macromedia Flash Professional 8.

Action 1:
-Create new document Flash (.fla) at your computer
-Insert frame in Layer 1 (default)

Action 2:
-Please try push keyboard ctrl+enter
-And than right click mouse on the stage Flash player publishing flash document after publishing movie

note:
you will see this context menu after left click in the Flash player is a default setting, because it is a part of resource programming from provider Company.

Action 3:
-Ok let's doing other action after you see it.
-Left Click at the Layer 1 and Frame too
-Right Click it and choose action from right click menu

Action 6:
-Please follow this text to write a scripting hide menu on your Flash document

//set variable context menu
var theMenu:ContextMenu = new ContextMenu();
//command to hide default context menu
theMenu.hideBuiltInItems(); _root.menu = theMenu;
//command to create new context menu
var item:ContextMenuItem = new ContextMenuItem("Created by OFAN SOFANDANI (www.anime7graphic.blogspot.com)", anime7); theMenu.customItems[0] = item; function anime7() { getURL("http://www.anime7graphic.blogspot.com"); }

note:
you can change url address to get your connection need
you can change name of new context menu ex:
new ContextMenuItem("Created by OFAN SOFANDANI (www.anime7graphic.blogspot.com)"

Action 6:
-After that you can try same as action 2 and see different

Have Fun my friend's, improve your mind be creative and see you next time

 

About

Foto saya
Seorang pemuda Indonesia biasa yang terlanjur berkecimpung di dunia digital seperti Web Designer freelance, Digital Imaging Design, Menulis artikel di Blog www.medialiterasi.co.cc, moderator di www.marketingkami.net. Penggagas, developer dan moderator di www.olinklist.com

My Friends [Do follow blog, Self List Link and Banner Friends]

Share to Facebook Share to Twitter Stumble It More...