[quoted text, click to view] citygamer wrote:
> 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
> .
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