all groups > flash (macromedia) > february 2005 >
You're in the

flash (macromedia)

group:

extra writing on the right click


extra writing on the right click citygamer
2/26/2005 7:31:55 PM
flash (macromedia):
hi all!

does anyone know how to put another thing on the dropdown menu when you right
clcik on an swf file, i know it can be doe coz i saw it sumwhere else, see i
want it to say OPEN DOOR and when ypu press it a movie clip will do somthing
like nextFrame( );

http://uploads.ungrounded.net/content.php?id=218014&name=218014_DAbuddy_latest.s
wf&title=Interactive%20Buddy%20v.1.01&date=1109394000&quality=b&uj=0&w=550&h=400
..

any help wud be grate, plz and thankyou, JB
Re: extra writing on the right click Brajeshwar
2/27/2005 8:57:09 AM
Re: extra writing on the right click urami_
2/27/2005 10:41:33 AM


[quoted text, click to view]

Player 7 has the ability of making custom menu options which can interact with the movie.

scommand ("showmenu", "true");
tekst.text = "Click With Right Click to Find Menu";
wybor = function (obj, item) {
_root.tekst.text = _root.tekst.text + (newline + item.caption);
if (item.caption == "YahOOOO") {
getURL ("http://www.yahoo.com", "_blank");
}
if (item.caption == "Close The Window") {
getURL ("javascript:window.opener=null; window.close()");
}
if (item.caption == "Change Text Here") {
tekst.text = "You Mess the Movie !!!!";
}
};
mainMenu = new ContextMenu ();
item1 = new ContextMenuItem ("YahOOOO", wybor);
item2 = new ContextMenuItem ("Close The Window", wybor);
item3 = new ContextMenuItem ("Bla Bla", wybor);
item4 = new ContextMenuItem ("Change Text Here", wybor);
mainMenu.customItems.push(item1);
mainMenu.customItems.push(item2);
mainMenu.customItems.push(item3);
mainMenu.customItems.push(item4);
this.menu = mainMenu;

Sample :

http://www.flashfugitive.com/f7/right_click_menu2.swf

--
Regards

Urami

--


<urami>
http://www.Flashfugitive.com
</urami>

<web junk free>
http://www.firefox.com
AddThis Social Bookmark Button