Package | com.adobe.portfolio.components |
Class | public class BestExperienceAlert |
Inheritance | BestExperienceAlert ![]() ![]() ![]() |
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Method | Defined By | ||
---|---|---|---|
Constructor. | BestExperienceAlert | ||
![]() | addListenAndWatch():void
Creates autoListen and autoWatch for automatically tracking listeners and watchers. | NavSkinnableComponent | |
![]() | removeListenAndWatch():void
Uses autoListen and autoWatch to remove all listeners and watchers. | NavSkinnableComponent | |
![]() | setCurrentState(stateName:String, playTransition:Boolean = true):void [override]
Sets the current component state and skin state. | NavSkinnableComponent | |
![]() | show(container:IVisualElementContainer, msg:String = null):void
Shows the alert. | NavAlert | |
![]() | [static]
Creats an alert with the given message as a popup with the given parent. | NavAlert |
Method | Defined By | ||
---|---|---|---|
![]() | addListener(listener:IEventDispatcher, type:String, handler:Function, useCapture:Boolean = false, priority:int = 0):void | NavSkinnableComponent | |
![]() | addWatcher(watcher:ChangeWatcher):void | NavSkinnableComponent | |
![]() | detachSkin():void [override] | NavSkinnableComponent | |
![]() | getCurrentSkinState():String [override] | NavSkinnableComponent | |
![]() | initStates():void [override] | NavAlert | |
![]() | measure():void [override]
| NavAlert | |
![]() | onCloseButton(event:MouseEvent):void | NavAlert | |
onGetReaderNow(event:MouseEvent):void | BestExperienceAlert | ||
partAdded(partName:String, instance:Object):void [override] | BestExperienceAlert | ||
![]() | partRemoved(partName:String, instance:Object):void [override] | NavSkinnableComponent |
This component uses skins made up of skin parts. Do not set the skin parts directly. The component's skin sets the skin parts.
Skin Part | Description | Defined By | ||
---|---|---|---|---|
![]() | closeButton:spark.components.Button | Required: true Part Type: Static The close button for the Alert. | NavAlert | |
getReaderNow:spark.components.Button | Required: true Part Type: Static | BestExperienceAlert | ||
![]() | messageDisplay:spark.components.Label | Required: false Part Type: Static An optional Label for displaying a message. | NavAlert |
To skin the component, implement a skin that defines the following states. Although you must implement all skin states, a skin state can be empty. An empty skin state specifies no changes to the default skin state.
BestExperienceAlert | () | Constructor |
public function BestExperienceAlert()
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Constructor.
onGetReaderNow | () | method |
protected function onGetReaderNow(event:MouseEvent):void
Parameters
event:MouseEvent |
partAdded | () | method |
override protected function partAdded(partName:String, instance:Object):void
Parameters
partName:String | |
instance:Object |