![]() | ![]() |


Definition at line 12 of file UIComponentEx.as.
Public Member Functions | |
| function get | TrackableID () |
| function set | TrackableID (aValue:String) |
| function get | MoveOutOfSceneWhenInvisible () |
| function set | MoveOutOfSceneWhenInvisible (aValue:Boolean) |
| function get | MinimizeWhenInvisible () |
| function set | MinimizeWhenInvisible (aValue:Boolean) |
| function get | IsUIInitialized () |
| function get | width () |
| function set | width (aValue:Number) |
| function get | height () |
| function set | height (aValue:Number) |
| function get | x () |
| function set | x (aValue:Number) |
| function get | y () |
| function set | y (aValue:Number) |
| function | show () |
| function | hide () |
| function | enableBoundingBoxMouseEvents () |
| function | disableBoundingBoxMouseEvents () |
| function | getComponent (aComponentName:String) |
| function | getComponentByPath (aComponentPath:Array) |
Package Functions | |
| function | dispatchEventLater (eventObj:Object) |
| function | dispatchEvent (eventObj:Object) |
| function | addEventListener (event:String, handler) |
| function | removeEventListener (event:String, handler) |
| function get | visible () |
| function set | visible (x:Boolean) |
| function | _initUI () |
| function | initUI () |
Private Member Functions | |
| function | UIComponentEx () |
| function | onEnterFrameHandler_UIComponentEx (Void) |
| function | setVisible (aNewValue:Boolean) |
| function | __setRealSize () |
| function | __saveSizeAndMakeItZero () |
| function | __moveOutOfScene () |
| function | __returnBackToScene () |
| function | __applyDisableMouseEventsCover () |
| function | __removeDisableMouseEventsCover () |
Private Attributes | |
| var | __Real_width:Number |
| var | __Real_heigth:Number |
| var | __Real_x:Number |
| var | __Real_y:Number |
| var | __DisableMouseEventsCover: MovieClip |
| var | mTrackableID: String |
| var | mMoveOutOfSceneWhenInvisible:Boolean = false |
| var | mMinimizeWhenInvisible:Boolean = false |
| var | mIsUIInitialized: Boolean = false |
Static Private Attributes | |
| static var | eventDispatchingInitialized = EventDispatcher.initialize(UIComponentEx.prototype) |
| static var | STORAGE_FRAME_NUMBER: Number = 6 |
| static var | INVISIBLE_WIDTH:Number = 0.1 |
| static var | INVISIBLE_HEIGHT:Number = 0.1 |
| static var | OFFSET_FROM_SCENE_WHEN_INVISIBLE:Number = 1001 |
| function gugga.common.UIComponentEx.UIComponentEx | ( | ) | [private] |
Definition at line 178 of file UIComponentEx.as.
| function gugga.common.UIComponentEx.dispatchEventLater | ( | eventObj:Object | ) | [package] |
Definition at line 16 of file UIComponentEx.as.
| function gugga.common.UIComponentEx.dispatchEvent | ( | eventObj:Object | ) | [package] |
dispatch the event to all listeners
| eventObj | an Event or one of its subclasses describing the event |
Definition at line 22 of file UIComponentEx.as.
Referenced by gugga.application.Section.activate(), gugga.commands.CommandHistory.add(), gugga.commands.CommandHistory.clear(), gugga.application.Section.close(), gugga.application.Section.destroy(), gugga.navigation.TreeNavigation.dispatchChangedEvent(), gugga.application.SectionsController.harvestCurrentSectionPath(), gugga.application.Section.initialize(), gugga.components.SectionLoader.interrupt(), gugga.components.SectionAttacher.interrupt(), gugga.components.ImageLoader.interrupt(), gugga.application.Section.onActivated(), gugga.application.Section.onActivationInterrupted(), gugga.application.Section.onClosed(), gugga.application.Section.onCloseInterrupted(), gugga.application.Section.onDestroyed(), gugga.application.Section.onInitializationInterrupted(), gugga.application.Section.onInitialized(), gugga.navigation.MenuItemsController.onItemRollOut(), gugga.navigation.MenuItemsController.onItemRollOver(), gugga.navigation.MenuItemsController.onItemSelected(), gugga.components.ImageLoader.onLoadError(), gugga.components.SectionLoader.onLoadInit(), gugga.components.ImageLoader.onLoadInit(), gugga.components.ImageLoader.onLoadProgress(), gugga.components.ImageLoader.onLoadStart(), gugga.navigation.DropDownMenuItem.onMeRollOut(), gugga.navigation.MenuNavigation.onMeSelected(), gugga.application.Section.onOpened(), gugga.application.Section.onOpenInterrupted(), gugga.components.Button.onPress(), gugga.components.ProgressBar.onProgressUpdated(), gugga.components.Button.onRelease(), gugga.navigation.DropDownMenuItemTitle.onRollOut(), gugga.components.Button.onRollOut(), gugga.navigation.DropDownMenuItemTitle.onRollOver(), gugga.components.Button.onRollOver(), gugga.components.SectionLoader.onSectionInitialized(), gugga.components.SectionAttacher.onSectionInitialized(), gugga.components.SectionLoader.onSectionUIInitialized(), gugga.components.SectionAttacher.onSectionUIInitialized(), gugga.navigation.DropDownMenuItem.onTitleButtonClick(), gugga.navigation.DropDownMenuItem.onTitleButtonRollOver(), gugga.application.Section.open(), gugga.commands.CommandHistory.redo(), gugga.components.SectionAttacher.start(), gugga.components.ImageLoader.triggerLoadActual(), and gugga.commands.CommandHistory.undo().
| function gugga.common.UIComponentEx.addEventListener | ( | event:String | , | |
| handler | ||||
| ) | [package] |
add a listener for a particular event
| event | the name of the event ("click", "change", etc) | |
| the | function or object that should be called |
Definition at line 29 of file UIComponentEx.as.
| function gugga.common.UIComponentEx.removeEventListener | ( | event:String | , | |
| handler | ||||
| ) | [package] |
remove a listener for a particular event
| event | the name of the event ("click", "change", etc) | |
| the | function or object that should be called |
Definition at line 36 of file UIComponentEx.as.
| function get gugga.common.UIComponentEx.TrackableID | ( | ) |
Definition at line 52 of file UIComponentEx.as.
| function set gugga.common.UIComponentEx.TrackableID | ( | aValue:String | ) |
Definition at line 53 of file UIComponentEx.as.
| function get gugga.common.UIComponentEx.MoveOutOfSceneWhenInvisible | ( | ) |
Definition at line 56 of file UIComponentEx.as.
| function set gugga.common.UIComponentEx.MoveOutOfSceneWhenInvisible | ( | aValue:Boolean | ) |
Definition at line 57 of file UIComponentEx.as.
| function get gugga.common.UIComponentEx.MinimizeWhenInvisible | ( | ) |
Definition at line 60 of file UIComponentEx.as.
| function set gugga.common.UIComponentEx.MinimizeWhenInvisible | ( | aValue:Boolean | ) |
Definition at line 61 of file UIComponentEx.as.
| function get gugga.common.UIComponentEx.IsUIInitialized | ( | ) |
Definition at line 64 of file UIComponentEx.as.
| function get gugga.common.UIComponentEx.width | ( | ) |
Definition at line 66 of file UIComponentEx.as.
| function set gugga.common.UIComponentEx.width | ( | aValue:Number | ) |
Definition at line 77 of file UIComponentEx.as.
| function get gugga.common.UIComponentEx.height | ( | ) |
Definition at line 93 of file UIComponentEx.as.
| function set gugga.common.UIComponentEx.height | ( | aValue:Number | ) |
Definition at line 103 of file UIComponentEx.as.
| function get gugga.common.UIComponentEx.x | ( | ) |
Definition at line 119 of file UIComponentEx.as.
| function set gugga.common.UIComponentEx.x | ( | aValue:Number | ) |
Definition at line 129 of file UIComponentEx.as.
| function get gugga.common.UIComponentEx.y | ( | ) |
Definition at line 144 of file UIComponentEx.as.
| function set gugga.common.UIComponentEx.y | ( | aValue:Number | ) |
Definition at line 154 of file UIComponentEx.as.
| function get gugga.common.UIComponentEx.visible | ( | ) | [package] |
Definition at line 169 of file UIComponentEx.as.
| function set gugga.common.UIComponentEx.visible | ( | x:Boolean | ) | [package] |
Definition at line 173 of file UIComponentEx.as.
| function gugga.common.UIComponentEx.onEnterFrameHandler_UIComponentEx | ( | Void | ) | [private] |
Definition at line 195 of file UIComponentEx.as.
| function gugga.common.UIComponentEx.show | ( | ) |
Reimplemented in gugga.animations.TimeLineAnimation, and gugga.navigation.DropDownMenuItem.
Definition at line 201 of file UIComponentEx.as.
Referenced by gugga.application.ApplicationController.initUI(), gugga.application.Section.open(), and gugga.navigation.MenuNavigation.start().
| function gugga.common.UIComponentEx.hide | ( | ) |
Reimplemented in gugga.animations.TimeLineAnimation, and gugga.navigation.DropDownMenuItem.
Definition at line 206 of file UIComponentEx.as.
Referenced by gugga.application.Section.close(), and gugga.navigation.MenuNavigation.MenuNavigation().
| function gugga.common.UIComponentEx.enableBoundingBoxMouseEvents | ( | ) |
Reimplemented in gugga.application.SectionsController.
Definition at line 211 of file UIComponentEx.as.
| function gugga.common.UIComponentEx.disableBoundingBoxMouseEvents | ( | ) |
Definition at line 216 of file UIComponentEx.as.
Referenced by gugga.application.SectionsController.setMouseEventsLock().
| function gugga.common.UIComponentEx._initUI | ( | ) | [package] |
| function gugga.common.UIComponentEx.initUI | ( | ) | [package] |
Reimplemented in gugga.application.ApplicationController, gugga.application.SectionsController, gugga.components.ImageLoader, and gugga.navigation.MenuNavigation.
Definition at line 232 of file UIComponentEx.as.
| function gugga.common.UIComponentEx.getComponent | ( | aComponentName:String | ) |
Definition at line 234 of file UIComponentEx.as.
Referenced by gugga.components.LabelButton.initializeLabel().
| function gugga.common.UIComponentEx.getComponentByPath | ( | aComponentPath:Array | ) |
Definition at line 241 of file UIComponentEx.as.
Referenced by gugga.components.LabelButton.initializeLabel(), and gugga.components.SectionLoader.onLoadInit().
| function gugga.common.UIComponentEx.setVisible | ( | aNewValue:Boolean | ) | [private] |
Definition at line 267 of file UIComponentEx.as.
| function gugga.common.UIComponentEx.__setRealSize | ( | ) | [private] |
Definition at line 303 of file UIComponentEx.as.
| function gugga.common.UIComponentEx.__saveSizeAndMakeItZero | ( | ) | [private] |
Definition at line 316 of file UIComponentEx.as.
| function gugga.common.UIComponentEx.__moveOutOfScene | ( | ) | [private] |
Definition at line 325 of file UIComponentEx.as.
| function gugga.common.UIComponentEx.__returnBackToScene | ( | ) | [private] |
Definition at line 341 of file UIComponentEx.as.
| function gugga.common.UIComponentEx.__applyDisableMouseEventsCover | ( | ) | [private] |
Definition at line 347 of file UIComponentEx.as.
| function gugga.common.UIComponentEx.__removeDisableMouseEventsCover | ( | ) | [private] |
Definition at line 358 of file UIComponentEx.as.
var gugga.common.UIComponentEx.eventDispatchingInitialized = EventDispatcher.initialize(UIComponentEx.prototype) [static, private] |
Definition at line 14 of file UIComponentEx.as.
var gugga.common.UIComponentEx.STORAGE_FRAME_NUMBER [static, private] |
Definition at line 38 of file UIComponentEx.as.
var gugga.common.UIComponentEx.INVISIBLE_WIDTH [static, private] |
Definition at line 39 of file UIComponentEx.as.
var gugga.common.UIComponentEx.INVISIBLE_HEIGHT [static, private] |
Definition at line 40 of file UIComponentEx.as.
var gugga.common.UIComponentEx.OFFSET_FROM_SCENE_WHEN_INVISIBLE [static, private] |
Definition at line 41 of file UIComponentEx.as.
var gugga.common.UIComponentEx.__Real_width [private] |
Definition at line 43 of file UIComponentEx.as.
var gugga.common.UIComponentEx.__Real_heigth [private] |
Definition at line 44 of file UIComponentEx.as.
var gugga.common.UIComponentEx.__Real_x [private] |
Definition at line 45 of file UIComponentEx.as.
var gugga.common.UIComponentEx.__Real_y [private] |
Definition at line 46 of file UIComponentEx.as.
var gugga.common.UIComponentEx.__DisableMouseEventsCover [private] |
Definition at line 48 of file UIComponentEx.as.
var gugga.common.UIComponentEx.mTrackableID [private] |
Definition at line 51 of file UIComponentEx.as.
var gugga.common.UIComponentEx.mMoveOutOfSceneWhenInvisible [private] |
Definition at line 55 of file UIComponentEx.as.
var gugga.common.UIComponentEx.mMinimizeWhenInvisible [private] |
Definition at line 59 of file UIComponentEx.as.
var gugga.common.UIComponentEx.mIsUIInitialized [private] |
Definition at line 63 of file UIComponentEx.as.
1.5.2