Packagecom.adobe.portfolio.components
Classpublic class BestExperienceAlert
InheritanceBestExperienceAlert Inheritance NavAlert Inheritance NavSkinnableComponent Inheritance spark.components.supportClasses.SkinnableComponent

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

The BestExperienceAlert class extends NavAlert and displays an alert about obtaining the best experience for that navigator.



Public Properties
 PropertyDefined By
 Inheritedmessage : String
The String to be displayed in the alert.
NavAlert
 InheritedskinState : String
The current skin state
NavSkinnableComponent
Protected Properties
 PropertyDefined By
 InheritedautoListen : AutoListen
NavSkinnableComponent
 InheritedautoWatch : AutoWatch
NavSkinnableComponent
Public Methods
 MethodDefined By
  
Constructor.
BestExperienceAlert
 Inherited
Creates autoListen and autoWatch for automatically tracking listeners and watchers.
NavSkinnableComponent
 Inherited
Uses autoListen and autoWatch to remove all listeners and watchers.
NavSkinnableComponent
 Inherited
setCurrentState(stateName:String, playTransition:Boolean = true):void
[override] Sets the current component state and skin state.
NavSkinnableComponent
 Inherited
show(container:IVisualElementContainer, msg:String = null):void
Shows the alert.
NavAlert
 Inherited
showPopup(parent:DisplayObject, message:String, modal:Boolean = true):NavAlert
[static] Creats an alert with the given message as a popup with the given parent.
NavAlert
Protected Methods
 MethodDefined By
 Inherited
addListener(listener:IEventDispatcher, type:String, handler:Function, useCapture:Boolean = false, priority:int = 0):void
NavSkinnableComponent
 Inherited
addWatcher(watcher:ChangeWatcher):void
NavSkinnableComponent
 Inherited
detachSkin():void
[override]
NavSkinnableComponent
 Inherited
[override]
NavSkinnableComponent
 Inherited
initStates():void
[override]
NavAlert
 Inherited
measure():void
[override]
NavAlert
 Inherited
onCloseButton(event:MouseEvent):void
NavAlert
  
onGetReaderNow(event:MouseEvent):void
BestExperienceAlert
  
partAdded(partName:String, instance:Object):void
[override]
BestExperienceAlert
 Inherited
partRemoved(partName:String, instance:Object):void
[override]
NavSkinnableComponent
Skin Parts

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
 Inherited
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
 Inherited
messageDisplay:spark.components.Label
Required: false Part Type: Static
An optional Label for displaying a message.
NavAlert
Skin States

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.


 Skin State Description Defined By
 InheritedNavAlert
 InheritedNavAlert
 InheritedNavAlert
Public Constants
 ConstantDefined By
 InheritedSTATE_DISABLED : String = disabled
[static]
NavSkinnableComponent
 InheritedSTATE_NORMAL : String = normal
[static]
NavSkinnableComponent
 InheritedSTATE_POPUP : String = popup
[static]
NavAlert
Constructor Detail
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.

Method Detail
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