360VT.co.uk
08-04-2009, 08:13 AM
Hi
I’d really like a nice Context Menu plug-in.
I know that Patrick made one,
http://flashpanos.com/plugins/patrick/context-menu-plugin-flash-panorama-player
But it seem to have a lot off options that you just do not want and can not seem to hide with his plug-in, like Zoom In, Zoom Out, Show All, Quality and Print.
All I’d like is to add my link above the FPP, setting and about Adobe Flash player links
I have the Flash scripts for a custom Context Menu, but I need help to turn it in to a plug-in
Script in AS2
var myMenu:ContextMenu = new ContextMenu();
myMenu.hideBuiltInItems();
var mySiteLink:ContextMenuItem = new ContextMenuItem("www.SeeLincolnshire.co.uk", gotoseelincolnshire);
function gotoseelincolnshire () {
getURL("http://www.seelincolnshire.co.uk", "_top");
}
var copyrightNotice:ContextMenuItem = new ContextMenuItem("© 360VT.co.uk", goto360vt);
function goto360vt () {
getURL("http://www.360vt.co.uk", "_top");
}
var FPP_Notice:ContextMenuItem = new ContextMenuItem("About Flash Panorama Player", gotoFPP);
function gotoFPP () {
getURL("http://flashpanoramas.com/player", "_top");
}
FPP_Notice.separatorBefore = true;
myMenu.customItems.push(mySiteLink, copyrightNotice, FPP_Notice);
_root.menu = myMenu;
Script in AS3
var my_cMenu:ContextMenu = new ContextMenu();
my_cMenu.hideBuiltInItems();
var my_seelinc = new ContextMenuItem("www.SeeLincolnshire.co.uk");
var my_copyright = new ContextMenuItem("© 360VT.co.uk");
var my_FPP = new ContextMenuItem("About Flash Panorama Player");
my_cMenu.customItems.push(my_seelinc,my_copyright, my_FPP);
my_seelinc.addEventListener(ContextMenuEvent.MENU_ ITEM_SELECT, openLink1);
function openLink1(event:ContextMenuEvent){
navigateToURL(new URLRequest("http://www.seelincolnshire.co.uk"));
}
my_copyright.addEventListener(ContextMenuEvent.MEN U_ITEM_SELECT, openLink2);
function openLink2(event:ContextMenuEvent){
navigateToURL(new URLRequest("http://www.360vt.co.uk"));
}
my_FPP.addEventListener(ContextMenuEvent.MENU_ITEM _SELECT, openFPPlink);
function openFPPlink(event:ContextMenuEvent){
navigateToURL(new URLRequest("http://flashpanoramas.com/player"));
}
my_FPP.separatorBefore = true;
contextMenu = my_cMenu;
Can any one help with this
Thx Harry
I’d really like a nice Context Menu plug-in.
I know that Patrick made one,
http://flashpanos.com/plugins/patrick/context-menu-plugin-flash-panorama-player
But it seem to have a lot off options that you just do not want and can not seem to hide with his plug-in, like Zoom In, Zoom Out, Show All, Quality and Print.
All I’d like is to add my link above the FPP, setting and about Adobe Flash player links
I have the Flash scripts for a custom Context Menu, but I need help to turn it in to a plug-in
Script in AS2
var myMenu:ContextMenu = new ContextMenu();
myMenu.hideBuiltInItems();
var mySiteLink:ContextMenuItem = new ContextMenuItem("www.SeeLincolnshire.co.uk", gotoseelincolnshire);
function gotoseelincolnshire () {
getURL("http://www.seelincolnshire.co.uk", "_top");
}
var copyrightNotice:ContextMenuItem = new ContextMenuItem("© 360VT.co.uk", goto360vt);
function goto360vt () {
getURL("http://www.360vt.co.uk", "_top");
}
var FPP_Notice:ContextMenuItem = new ContextMenuItem("About Flash Panorama Player", gotoFPP);
function gotoFPP () {
getURL("http://flashpanoramas.com/player", "_top");
}
FPP_Notice.separatorBefore = true;
myMenu.customItems.push(mySiteLink, copyrightNotice, FPP_Notice);
_root.menu = myMenu;
Script in AS3
var my_cMenu:ContextMenu = new ContextMenu();
my_cMenu.hideBuiltInItems();
var my_seelinc = new ContextMenuItem("www.SeeLincolnshire.co.uk");
var my_copyright = new ContextMenuItem("© 360VT.co.uk");
var my_FPP = new ContextMenuItem("About Flash Panorama Player");
my_cMenu.customItems.push(my_seelinc,my_copyright, my_FPP);
my_seelinc.addEventListener(ContextMenuEvent.MENU_ ITEM_SELECT, openLink1);
function openLink1(event:ContextMenuEvent){
navigateToURL(new URLRequest("http://www.seelincolnshire.co.uk"));
}
my_copyright.addEventListener(ContextMenuEvent.MEN U_ITEM_SELECT, openLink2);
function openLink2(event:ContextMenuEvent){
navigateToURL(new URLRequest("http://www.360vt.co.uk"));
}
my_FPP.addEventListener(ContextMenuEvent.MENU_ITEM _SELECT, openFPPlink);
function openFPPlink(event:ContextMenuEvent){
navigateToURL(new URLRequest("http://flashpanoramas.com/player"));
}
my_FPP.separatorBefore = true;
contextMenu = my_cMenu;
Can any one help with this
Thx Harry