Adobe Systems, Inc.

amg.GalleryMenu Class Reference

List of all members.

Detailed Description

Definition at line 13 of file GalleryMenu.as.


Public Member Functions

function GalleryMenu ()
function initMenu (menuTitle:String, menuEvent:String, p_tabIndex:Number)
function setHeaderTextColor (newColor:String)
function setHeaderBgColor (newColor:String, alpha:String)
function setHeaderHoverColor (newColor:String, alpha:String)
function setItemsTextColor (newColor:String)
function setItemsBgColor (newColor:String, alpha:String)
function setItemsHoverColor (newColor:String, alpha:String)
function setItemsBorderColor (newColor:String, alpha:String)
function setSelectedItem (itemEvent:String)
function unSelectAllItems (itemEvent:String)
function addMenuItem (menuTitle:String, menuType:String, isSelected:Boolean, menuEvent:String, p_tabIndex:Number, prevNode:String)
function removeMenuItem (itemEvent:String)
function removeAllMenuItems (itemEvent:String)
function rollAsClick ()

Public Attributes

var menuHeaderEvent:String
var txtMenuHeader:TextField
var _bMenuHover:Boolean = false
var _bMenuOpen:Boolean = false
var _iCurrItemsWidth:Number = 0

Package Functions

function setTint (clip:MovieClip, hexval:String, alpha:String)

Private Member Functions

function headerRollOver (Void)
function headerRollOut (Void)
function headerClick (Void)
function headerRelease (Void)
function itemRollOver (itemId:Number)
function itemRollOut (Void)
function itemClick (Void)
function dispatchEvent (eventName:String, eventValue:Object)
function showMenus (toOpen:Boolean)

Private Attributes

var MenuHeader:MovieClip
var _iHeaderWidth:Number = 0
var _iMenuHeaderLineHeight:Number = 16
var _iMenuHeaderLeftMargin:Number = 7
var _iMenuHeaderRightMargin:Number = 7
var menuItem:MovieClip
var MenuItemsBorder:MovieClip
var _aMenuItems:Array
var _iMenuItemDepth:Number = 10
var _iMenuItemLineHeight:Number = 16 private var _iMenuItemRightMargin:Number = 40
var _iMenuItemLeftMargin:Number = 15
var _iMenuHeaderFillColor:Number = 0x666666
var _iMenuHeaderHoverColor:Number = 0x000000
var _iMenuHeaderTextColor:Number = 0xffffff
var _iMenuItemFillColor:Number = 0x666666
var _iMenuItemHoverColor:Number = 0x000000
var _oMouseListener:Object

Constructor & Destructor Documentation

function amg.GalleryMenu.GalleryMenu (  ) 

Definition at line 51 of file GalleryMenu.as.


Member Function Documentation

function amg.GalleryMenu.addMenuItem ( menuTitle:String  ,
menuType:String  ,
isSelected:Boolean  ,
menuEvent:String  ,
p_tabIndex:Number  ,
prevNode:String   
)

Definition at line 216 of file GalleryMenu.as.

function amg.GalleryMenu.dispatchEvent ( eventName:String  ,
eventValue:Object   
) [private]

Definition at line 353 of file GalleryMenu.as.

function amg.GalleryMenu.headerClick ( Void   )  [private]

Definition at line 163 of file GalleryMenu.as.

References _parent.

function amg.GalleryMenu.headerRelease ( Void   )  [private]

Definition at line 167 of file GalleryMenu.as.

function amg.GalleryMenu.headerRollOut ( Void   )  [private]

Definition at line 157 of file GalleryMenu.as.

References _parent.

function amg.GalleryMenu.headerRollOver ( Void   )  [private]

Definition at line 151 of file GalleryMenu.as.

References _parent.

function amg.GalleryMenu.initMenu ( menuTitle:String  ,
menuEvent:String  ,
p_tabIndex:Number   
)

Definition at line 65 of file GalleryMenu.as.

function amg.GalleryMenu.itemClick ( Void   )  [private]

Definition at line 181 of file GalleryMenu.as.

References _parent.

function amg.GalleryMenu.itemRollOut ( Void   )  [private]

Definition at line 176 of file GalleryMenu.as.

function amg.GalleryMenu.itemRollOver ( itemId:Number   )  [private]

Definition at line 171 of file GalleryMenu.as.

function amg.GalleryMenu.removeAllMenuItems ( itemEvent:String   ) 

Definition at line 343 of file GalleryMenu.as.

function amg.GalleryMenu.removeMenuItem ( itemEvent:String   ) 

Definition at line 323 of file GalleryMenu.as.

function amg.GalleryMenu.rollAsClick (  ) 

Definition at line 349 of file GalleryMenu.as.

function amg.GalleryMenu.setHeaderBgColor ( newColor:String  ,
alpha:String   
)

Definition at line 117 of file GalleryMenu.as.

function amg.GalleryMenu.setHeaderHoverColor ( newColor:String  ,
alpha:String   
)

Definition at line 121 of file GalleryMenu.as.

function amg.GalleryMenu.setHeaderTextColor ( newColor:String   ) 

Definition at line 111 of file GalleryMenu.as.

function amg.GalleryMenu.setItemsBgColor ( newColor:String  ,
alpha:String   
)

Definition at line 133 of file GalleryMenu.as.

function amg.GalleryMenu.setItemsBorderColor ( newColor:String  ,
alpha:String   
)

Definition at line 146 of file GalleryMenu.as.

function amg.GalleryMenu.setItemsHoverColor ( newColor:String  ,
alpha:String   
)

Definition at line 139 of file GalleryMenu.as.

function amg.GalleryMenu.setItemsTextColor ( newColor:String   ) 

Definition at line 125 of file GalleryMenu.as.

function amg.GalleryMenu.setSelectedItem ( itemEvent:String   ) 

Definition at line 200 of file GalleryMenu.as.

function amg.GalleryMenu.setTint ( clip:MovieClip  ,
hexval:String  ,
alpha:String   
) [package]

Definition at line 399 of file GalleryMenu.as.

function amg.GalleryMenu.showMenus ( toOpen:Boolean   )  [private]

Definition at line 383 of file GalleryMenu.as.

function amg.GalleryMenu.unSelectAllItems ( itemEvent:String   ) 

Definition at line 209 of file GalleryMenu.as.


Member Data Documentation

Definition at line 29 of file GalleryMenu.as.

Definition at line 23 of file GalleryMenu.as.

Definition at line 24 of file GalleryMenu.as.

Definition at line 33 of file GalleryMenu.as.

Definition at line 19 of file GalleryMenu.as.

Definition at line 38 of file GalleryMenu.as.

Definition at line 39 of file GalleryMenu.as.

Definition at line 21 of file GalleryMenu.as.

Definition at line 20 of file GalleryMenu.as.

Definition at line 22 of file GalleryMenu.as.

Definition at line 40 of file GalleryMenu.as.

Definition at line 30 of file GalleryMenu.as.

Definition at line 41 of file GalleryMenu.as.

Definition at line 42 of file GalleryMenu.as.

Definition at line 36 of file GalleryMenu.as.

Definition at line 35 of file GalleryMenu.as.

Definition at line 44 of file GalleryMenu.as.

Definition at line 16 of file GalleryMenu.as.

Definition at line 17 of file GalleryMenu.as.

var amg.GalleryMenu.menuItem [private]

Definition at line 27 of file GalleryMenu.as.

Definition at line 28 of file GalleryMenu.as.

Definition at line 18 of file GalleryMenu.as.


The documentation for this class was generated from the following file:

Copyright © 2006 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.