May
08
2008
Add Right Click Menu in Flash PDF Print E-mail
This tutorial is for people who want to know how to set up customized right click menu for flash. Why somebody needs this? right....protect your work with copyright information, it just include your website address so everyone who saw that movie could visit your website
 
hariesdesign.com  ----> hariesdesign.com
 
follow this step....

Step 1

Create new Flash file File > New..

hariesdesign.com 

 

Step 2 

Select Flash Document 

hariesdesign.com

 

Step 3 

Press Ctrl+Enter to compile movie and right click

hariesdesign.com 

you'll see in default type 

 

Step 4 

Create New Layer 

hariesdesign.com 

Now we will right some actions script codes to show copyright information. Add the following action script code to the default layer you already have

function doSomething(){}
function doSomething2(){
getURL("http://www.greatlistdirectory.com", _blank);}
MENU.customItems.push(Functioned2);
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("Copyright by Your Company Name", doSomething);
Functioned2 = new ContextMenuItem("Visit Our Website", doSomething2);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
_root.menu = MENU;

 

hariesdesign.com 

 

Step 5 

Press Ctrl+Enter to compile movie and right click

And You'll see 

hariesdesign.com 

 
< Prev   Next >

Gallery Photography

Login

Sponsors


Get Chitika Premium