Actionscript reference

 

Properties

easing

 

Events

mouseClick
mouseOver
mouseOut
IOERROR
SECURITYERROR

 

Methods

addIcon
addIconAt
removeIcon
setMode

 

Properties

easing

Availability

Flash Player 9

Description

Property; sets the easing effect for the scrolling

Example

menu.easing = "Elastic";

 

 

Events

mouseClick

Availability

Flash Player 9

Description

Event; called when an item is clicked. The event carries the index of the button that triggered the event.


mouseOver

Availability

Flash Player 9

Description

Event; called when the mouse moves over an item. The event carries the index of the button that triggered the event.

 

mouseOut

Availability

Flash Player 9

Description

Event; called when the mouse moves out of an item. The event carries the index of the button that triggered the event.

 

IOERROR

Availability

Flash Player 9

Description

Event; called when there is an error loading the XML file.

 

SECURITYERROR

Availability

Flash Player 9

Description

Event; called when there is a security error while loading the XML file.

 

 

Methods

addIcon

Availability

Flash Player 9

Description

Method; adds an icon to the end of the icon group in the component.

Example

menu.addIcon("Flashloaded","icon1","getURL(http://www.flashloaded.com",true);

 

 

addIconAt

Availability

Flash Player 9

Description

Method; adds an icon to a specific position in the icon group in the component.

Example

menu.addIconAt("Flashloaded","icon1",2,"getURL(http://www.flashloaded.com", true);

 

 

removeIcon

Availability

Flash Player 9

Description

Method; removes an icon with a specified id number from the component.

Example

menu.removeIcon(10);

 

 

setMode

Availability

Flash Player 9

Description

Method; sets the orientation of the menu: Horizontal or Vertical

Example

menu.setMode("Vertical");