-
custom right click menu
Hey all!
I was just wondering how this menu was done. I know how to hide the right click menu, so only "settings" and "about macromedia flash" comes up, but I've never seen a custom menu like this before. When you load it up, and right click onto the flash movie, it has options to email them and view their websites. Here is the link to the flash movie: http://www.trueweaksauce.com/animati...onslaught.html Does anybody know how its done?
Thanx in advance
It's just a job. Grass grows, birds fly, waves pound the sand. I just beat people up.
Muhammad Ali
-
Senior Member
It is possible in Flash MX 2004... and FLash Player 7.
Open a new document in flash mx 2004 and in first frame assign following action
function doSomething(){}
function doSomething2(){
getURL("http://www.metamorphozis.com", _blank);}
MENU.customItems.push(Functioned2);
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("This movie is copyrighted by Your Company Name", doSomething);
Functioned2 = new ContextMenuItem("Visite Our Website", doSomething2);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
_root.menu = MENU;
make changes according to your requirement.
Test the result in flash player 7+ only.
try to do something, you can do anything
-
thanx a lot! I really appreciate it.
It's just a job. Grass grows, birds fly, waves pound the sand. I just beat people up.
Muhammad Ali
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|