My account  |  Support  |  Shopping Cart
Jumpeye Components, V3 Flash Components, Flash Components Pro, Flash V3 Components

Usage and Code Samples for Cross Menu Pro V1 Flash Component


Cross Menu Pro V1 Usage and Code Samples

//create a listener Object
listener = new Object();
//this is how the function "onRelease" will work when pushing buttons(menus)inside the component

listener.onRelease = function(arg) {
//tracing the id to the output panel
trace("id= "+arg);
//making decesion based on a switch condition
switch (arg) {

case "sm1" :
// outputing a string
trace("you pressed sm1");
// using the gotoAndPlay function
gotoAndPlay(23);
break;

case "s1" :
trace("you pressed s1");
// using the getURL method
getURL("www.jumpeye.com", "_blank");
break;

default :
// outputing that the clicked menu is not s1 or sm1
// this is the default action for the switch
trace("not s1 or sm1");
break;
}
};

//adding the listener object to the menu instance
menu.addListener(listener);

Menu

Special Offer

Special Offer - All in one Jumpeye Components bundle!

Get the JC Master Collection Now!

Free Trial Versions

The trial versions do have a major limitation. They will ONLY run into debugger flash player versions, such as the Flash IDE player and the activeX FP used by developers.

Switch from Free Trial version to Full version.

You can switch from Trial to Full versions in a blink of an eye.
See this tutorial in order to find out how.

We accept Google Checkout

Google Checkout Acceptance Mark

Secured by VeriSign