Adobe Systems, Inc.

amg.Gallery Class Reference

List of all members.

Detailed Description

Definition at line 19 of file Gallery.as.


Public Member Functions

function Gallery ()
function onLoadInit ()
function clearMenus ()
function buildMenus ()
function dispatchEvent (eventName:String, eventValue:Object)
function loadGroupXMLChunk (p_xmlNode:XMLNode)
function suspendKeyboard ()
function resumeKeyboard ()
function livePreview (strNode:String)
function livePreviewNode (styleNode:XMLNode)
function showToolTip (txt:String, toolTipPos:String, wrap:Boolean, posx:Number, posy:Number)
function hideToolTip (posx:Number, posy:Number, txt:String)

Public Attributes

var strGroupID:String
var bShowHeaderBar:Boolean = true
var bShowMenuBar:Boolean = true
var bLivePreviewMode:Boolean = true
var iScreenWidth:Number
var iScreenHeight:Number
var iSlideShowControlHeight:Number
var _iMenuBarBgColor:Number = 0xff0000
var _strMenuBarBgColor:String = "ff0000"
var _iMenuBarHoverColor:Number = 0xff0000
var _iMenuBarTextColor:Number = 0xff0000

Package Functions

function parseFlashVarsForProjector ()
function parseLocalText ()
function parseStyle ()
function setTint (clip:MovieClip, hexval:String, alpha:String)

Private Member Functions

function loadFlashVarsForProjector ()
function loadLocalText ()
function loadStyleXml ()
function applyStyles ()
function loadGroupXml (xmlUrl:String)
function parseGroupXML ()
function startShow ()
function keyboardHandler ()
function mouseHandler ()
function changeImageSize (newImageSize:String)
function changeView (newView:String, newBandwidth:String)
function toggleDebug ()
function writeDebug (debugOut:String, area:String)
function resizeStage ()
function setHeightWidth (p_h, p_w)

Private Attributes

var _strVersionNumber = "AMG 2.2.0"
var _iMinScreenWidth:Number = 650
var _iMinScreenHeight:Number = 340
var _strPageTitle:String = "Photo Gallery"
var _strGroupTitle:String = "my Photos"
var _strGroupDesc:String
var _iMenuTabIndex = 10
var _iSlideshowControlTabIndex = 500
var _iVideoControlIndex = 600
var _iThumbsTabIndex = 700
var embedEnabled = false
var _bDebugWindow:Boolean = false
var _strBaseRefUrl:String = ""
var _iStartSlide:Number = 0
var _strViewMode:String = "galleryDefault"
var _strMetadataMode:String = "underPhotos"
var _strCurrView:String = "gallery"
var _strCurrBandwidth:String = "broadband"
var _currImageSize = "small"
var _strPlayMode:String = "paused"
var _iSlideDuration:Number = 5
var _iTransitionDuration:Number = 0.75
var _strTransitionType:String = "fade"
var _bFitAtStart:Boolean = false
var _iSlideshowMetadataHeight:Number = 35
var _iMetadataViewWidth:Number = .25
var _iThumbMaxHeight:Number
var _iThumbMaxWidth:Number
var _iThumbTopMargin:Number = 15
var _iThumbBorderWidth:Number
var _iThumbScrollHeight:Number = 21
var _iThumbScrollWidth:Number = 25
var _iGalleryInfoHeight:Number
var _iGalleryInfoWidth:Number
var _bSmartLoad:Boolean = true
var _xmlMediaPosition:XMLNode
var _strExtensionModuleSrc:String = ""
var BackgroundColor:MovieClip
var BackgroundImg:MovieClip
var HeaderBar:MovieClip
var PageTitle:MovieClip
var GroupTitle:MovieClip
var ContactInfo:MovieClip
var GalleryMenuBar:MovieClip
var DebugWindow:MovieClip
var ThumbnailView:MovieClip
var SlideShow:MovieClip
var GalleryInfo:MovieClip
var MetadataView:MovieClip
var ToolTip:MovieClip
var ExtensionModule:MovieClip
var _strContactInfo:String
var _strContactInfoLink:String
var _iThumbnailControlWidthRatio:Number = .465
var _iControlsHeightRatio = .986
var _iControlsTopSpacer:Number = 6
var _iControlsSideSpacer:Number = 6
var _iControlsDividingSpacer = 6
var _iPageTitle_x = 10
var _iPageTitle_y = 10
var _iGroupTitleMargin = 10
var _iGroupTitle_y = 10
var _iControlsDepth = 10
var _iDebugWindowDepth:Number = 3000
var _bHeaderUsesGraphic:Boolean = false
var _iHeaderBarHeight = 46
var _aMenus:Array
var _bMenuOpen:Boolean = false
var _oStageListener:Object
var _oKeyListener:Object
var _oFocusListener:Object
var _oMouseListener:Object
var _xmlLocalText:XML
var strLocalizationXmlUrl:String
var _xmlGroup:XML
var strGroupXmlUrl:String
var _xmlStyle:XML
var strStyleXmlUrl:String
var _xmlFlashVarsForProjector:XML
var _lastPageTitleStyleNode

Constructor & Destructor Documentation

function amg.Gallery.Gallery (  ) 

Definition at line 129 of file Gallery.as.

References resizeStage().


Member Function Documentation

function amg.Gallery.applyStyles (  )  [private]

Definition at line 515 of file Gallery.as.

References _parent.

function amg.Gallery.buildMenus (  ) 

Definition at line 709 of file Gallery.as.

function amg.Gallery.changeImageSize ( newImageSize:String   )  [private]

Definition at line 1183 of file Gallery.as.

function amg.Gallery.changeView ( newView:String  ,
newBandwidth:String   
) [private]

Definition at line 1202 of file Gallery.as.

References _parent.

function amg.Gallery.clearMenus (  ) 

Definition at line 702 of file Gallery.as.

function amg.Gallery.dispatchEvent ( eventName:String  ,
eventValue:Object   
)

Definition at line 932 of file Gallery.as.

References _parent.

function amg.Gallery.hideToolTip ( posx:Number  ,
posy:Number  ,
txt:String   
)

Definition at line 1685 of file Gallery.as.

function amg.Gallery.keyboardHandler (  )  [private]

Definition at line 1156 of file Gallery.as.

References _parent.

function amg.Gallery.livePreview ( strNode:String   ) 

Definition at line 1243 of file Gallery.as.

function amg.Gallery.livePreviewNode ( styleNode:XMLNode   ) 

Definition at line 1251 of file Gallery.as.

References _parent, and attachMovie().

function amg.Gallery.loadFlashVarsForProjector (  )  [private]

Definition at line 182 of file Gallery.as.

function amg.Gallery.loadGroupXml ( xmlUrl:String   )  [private]

Definition at line 811 of file Gallery.as.

function amg.Gallery.loadGroupXMLChunk ( p_xmlNode:XMLNode   ) 

Definition at line 1133 of file Gallery.as.

function amg.Gallery.loadLocalText (  )  [private]

Definition at line 211 of file Gallery.as.

function amg.Gallery.loadStyleXml (  )  [private]

Definition at line 251 of file Gallery.as.

function amg.Gallery.mouseHandler (  )  [private]

Definition at line 1175 of file Gallery.as.

References _parent.

function amg.Gallery.onLoadInit (  ) 

Definition at line 696 of file Gallery.as.

function amg.Gallery.parseFlashVarsForProjector (  )  [package]

Definition at line 198 of file Gallery.as.

function amg.Gallery.parseGroupXML (  )  [private]

Definition at line 856 of file Gallery.as.

function amg.Gallery.parseLocalText (  )  [package]

Definition at line 238 of file Gallery.as.

function amg.Gallery.parseStyle (  )  [package]

Definition at line 286 of file Gallery.as.

References _parent, and attachMovie().

function amg.Gallery.resizeStage (  )  [private]

Definition at line 1749 of file Gallery.as.

function amg.Gallery.resumeKeyboard (  ) 

Definition at line 1144 of file Gallery.as.

function amg.Gallery.setHeightWidth ( p_h  ,
p_w   
) [private]

Definition at line 1760 of file Gallery.as.

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

Definition at line 1694 of file Gallery.as.

function amg.Gallery.showToolTip ( txt:String  ,
toolTipPos:String  ,
wrap:Boolean  ,
posx:Number  ,
posy:Number   
)

Definition at line 1671 of file Gallery.as.

function amg.Gallery.startShow (  )  [private]

Definition at line 917 of file Gallery.as.

function amg.Gallery.suspendKeyboard (  ) 

Definition at line 1139 of file Gallery.as.

function amg.Gallery.toggleDebug (  )  [private]

Definition at line 1713 of file Gallery.as.

function amg.Gallery.writeDebug ( debugOut:String  ,
area:String   
) [private]

Definition at line 1722 of file Gallery.as.


Member Data Documentation

var amg.Gallery._aMenus [private]

Definition at line 103 of file Gallery.as.

Definition at line 35 of file Gallery.as.

var amg.Gallery._bFitAtStart [private]

Definition at line 47 of file Gallery.as.

Definition at line 98 of file Gallery.as.

var amg.Gallery._bMenuOpen [private]

Definition at line 104 of file Gallery.as.

var amg.Gallery._bSmartLoad [private]

Definition at line 58 of file Gallery.as.

var amg.Gallery._currImageSize = "small" [private]

Definition at line 42 of file Gallery.as.

var amg.Gallery._iControlsDepth = 10 [private]

Definition at line 96 of file Gallery.as.

Definition at line 91 of file Gallery.as.

var amg.Gallery._iControlsHeightRatio = .986 [private]

Definition at line 87 of file Gallery.as.

Definition at line 90 of file Gallery.as.

Definition at line 89 of file Gallery.as.

Definition at line 97 of file Gallery.as.

Definition at line 56 of file Gallery.as.

Definition at line 57 of file Gallery.as.

var amg.Gallery._iGroupTitle_y = 10 [private]

Definition at line 95 of file Gallery.as.

var amg.Gallery._iGroupTitleMargin = 10 [private]

Definition at line 94 of file Gallery.as.

var amg.Gallery._iHeaderBarHeight = 46 [private]

Definition at line 99 of file Gallery.as.

Definition at line 105 of file Gallery.as.

Definition at line 107 of file Gallery.as.

Definition at line 108 of file Gallery.as.

var amg.Gallery._iMenuTabIndex = 10 [private]

Definition at line 28 of file Gallery.as.

Definition at line 49 of file Gallery.as.

Definition at line 23 of file Gallery.as.

Definition at line 22 of file Gallery.as.

var amg.Gallery._iPageTitle_x = 10 [private]

Definition at line 92 of file Gallery.as.

var amg.Gallery._iPageTitle_y = 10 [private]

Definition at line 93 of file Gallery.as.

Definition at line 44 of file Gallery.as.

Definition at line 29 of file Gallery.as.

Definition at line 48 of file Gallery.as.

var amg.Gallery._iStartSlide [private]

Definition at line 37 of file Gallery.as.

Definition at line 53 of file Gallery.as.

Definition at line 50 of file Gallery.as.

Definition at line 51 of file Gallery.as.

Definition at line 86 of file Gallery.as.

Definition at line 54 of file Gallery.as.

Definition at line 55 of file Gallery.as.

var amg.Gallery._iThumbsTabIndex = 700 [private]

Definition at line 31 of file Gallery.as.

Definition at line 52 of file Gallery.as.

Definition at line 45 of file Gallery.as.

var amg.Gallery._iVideoControlIndex = 600 [private]

Definition at line 30 of file Gallery.as.

Definition at line 124 of file Gallery.as.

Definition at line 113 of file Gallery.as.

Definition at line 112 of file Gallery.as.

Definition at line 114 of file Gallery.as.

Definition at line 111 of file Gallery.as.

Definition at line 36 of file Gallery.as.

Definition at line 80 of file Gallery.as.

Definition at line 81 of file Gallery.as.

Definition at line 41 of file Gallery.as.

var amg.Gallery._strCurrView [private]

Definition at line 40 of file Gallery.as.

Definition at line 62 of file Gallery.as.

Definition at line 26 of file Gallery.as.

Definition at line 25 of file Gallery.as.

Definition at line 106 of file Gallery.as.

Definition at line 39 of file Gallery.as.

Definition at line 24 of file Gallery.as.

var amg.Gallery._strPlayMode [private]

Definition at line 43 of file Gallery.as.

Definition at line 46 of file Gallery.as.

var amg.Gallery._strVersionNumber = "AMG 2.2.0" [private]

Definition at line 21 of file Gallery.as.

var amg.Gallery._strViewMode [private]

Definition at line 38 of file Gallery.as.

Definition at line 123 of file Gallery.as.

var amg.Gallery._xmlGroup [private]

Definition at line 119 of file Gallery.as.

Definition at line 117 of file Gallery.as.

Definition at line 61 of file Gallery.as.

var amg.Gallery._xmlStyle [private]

Definition at line 121 of file Gallery.as.

Definition at line 66 of file Gallery.as.

Definition at line 67 of file Gallery.as.

Definition at line 63 of file Gallery.as.

Definition at line 59 of file Gallery.as.

Definition at line 60 of file Gallery.as.

var amg.Gallery.ContactInfo [private]

Definition at line 71 of file Gallery.as.

var amg.Gallery.DebugWindow [private]

Definition at line 73 of file Gallery.as.

var amg.Gallery.embedEnabled = false [private]

Definition at line 34 of file Gallery.as.

Definition at line 79 of file Gallery.as.

var amg.Gallery.GalleryInfo [private]

Definition at line 76 of file Gallery.as.

Definition at line 72 of file Gallery.as.

var amg.Gallery.GroupTitle [private]

Definition at line 70 of file Gallery.as.

var amg.Gallery.HeaderBar [private]

Definition at line 68 of file Gallery.as.

Definition at line 85 of file Gallery.as.

Definition at line 84 of file Gallery.as.

Definition at line 88 of file Gallery.as.

var amg.Gallery.MetadataView [private]

Definition at line 77 of file Gallery.as.

var amg.Gallery.PageTitle [private]

Definition at line 69 of file Gallery.as.

var amg.Gallery.SlideShow [private]

Definition at line 75 of file Gallery.as.

Definition at line 27 of file Gallery.as.

Definition at line 120 of file Gallery.as.

Definition at line 118 of file Gallery.as.

Definition at line 122 of file Gallery.as.

Definition at line 74 of file Gallery.as.

var amg.Gallery.ToolTip [private]

Definition at line 78 of file Gallery.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.