Class com.asual.enflash.ui.Menu

com.asual.enflash.EnFlashObject
   +--com.asual.enflash.ui.UIObject
      +--com.asual.enflash.ui.Component
         +--com.asual.enflash.ui.Menu

Field Index

asset, keyNav, length, menuParent, onchange, onclose, onopen, selectedItem
Inherited from Component
asset, autoSize, clear, display, enabled, float, focusable, host, loaded, onblur, onfocus, onzoom, ph, pw, rotation, swf, tabIndex, zoom
Inherited from UIObject
alpha, h, margin, movieclip, onload, onresize, padding, visible, w, x, y
Inherited from EnFlashObject
id, oninit, onremove, parent, ref

Method Index

new Menu()

addItem(), addItemAt(), addSeparator(), close(), executeEnter(), getItem(), moveDown(), moveUp(), open(), removeAll(), removeItem(), removeItemAt()
Inherited from Component
blur(), focus(), setSize()
Inherited from UIObject
load(), main(), move()
Inherited from EnFlashObject
addEventListener(), createDelegate(), debug(), dispatchEvent(), dispatchEventOnce(), getListeners(), getXML(), remove(), removeDelegate(), removeEventListener(), setXML(), toString()

Constructor Detail

Menu

public function Menu(menuParent, id:String)

Field Detail

onopen

public onopen:Function

onclose

public onclose:Function

onchange

public onchange:Function

asset

public asset:MovieClip [Read Only]

keyNav

public keyNav:Boolean [Read Only]

menuParent

public menuParent:Object [Read Only]

length

public length:Object [Read Only]

selectedItem

public selectedItem:Object [Read Only]

Method Detail

executeEnter

public function executeEnter():Void

open

public function open(x, y, altx, alty):Void

close

public function close():Void

addSeparator

public function addSeparator():Component

addItem

public function addItem(item:MenuItem):MenuItem

addItemAt

public function addItemAt(index:Number, item:MenuItem):MenuItem

removeItem

public function removeItem(item):Void

removeItemAt

public function removeItemAt(index):Void

removeAll

public function removeAll():Void

getItem

public function getItem(item)

moveUp

public function moveUp():Void

moveDown

public function moveDown():Void