Flash RightMenu Content Changes

Flash Right click Menu
Paste the code in action panel in flash,then we run the right click menu will change as per our menu listed in funciton.

function menuChoiceOne()
{
getURL(“http://www.toxiclab.org”);
}
function menuChoiceTwo()
{
getURL(“http://www.profileking.org”);
}

function menuChoiceThree()
{
getURL(“http://www.pixel2life.com”);
}

function menuChoiceFour()
{
getURL(“http://www.kirupa.com”);
}

function menuChoiceFive()
{
getURL(“http://www.tutorialized.com”);
}

NewMenu = new ContextMenu();

NewMenu.hideBuiltInItems();

NewMenu.customItems.push(new ContextMenuItem(“toxiclab.org”, menuChoiceOne));

NewMenu.customItems.push(new ContextMenuItem(“profileKing.org”, menuChoiceTwo));

NewMenu.customItems.push(new ContextMenuItem(“www.pixel2life.com”, menuChoiceThree));

NewMenu.customItems.push(new ContextMenuItem(“www.kirupa.com”, menuChoiceFour));

NewMenu.customItems.push(new ContextMenuItem(“www.tutorialized.com”, menuChoiceFive));

this.menu = NewMenu;

Advertisements

Posted on December 19, 2008, in 1. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: