Packagecom.google.analytics.debug
Classpublic class Alert
InheritanceAlert Inheritance Label Inheritance UISprite Inheritance flash.display.Sprite
SubclassesFailureAlert, GIFRequestAlert, SuccessAlert

The Alert class. Display a message and wait for an OK/Cancel action.



Public Properties
 PropertyDefined by
  actionOnNextLine : Boolean = true
Alert
 Inheritedalignement : Align
Indicates the alignement reference of this sprite.
UISprite
  autoClose : Boolean = true
Alert
 Inheritedcount : uint = 0
[static]
Label
 InheritedforcedHeight : uint
UISprite
 InheritedforcedWidth : uint
UISprite
 Inheritedmargin : Margin
Indicates the margin reference of this sprite.
UISprite
 InheritedstickToEdge : Boolean
Indicates if the border of the label stick to the edge.
Label
 Inheritedtag : String
the CSS tag used for the label.
Label
 Inheritedtext : String
The text of the label.
Label
Protected Properties
 PropertyDefined by
 InheritedalignTarget : DisplayObject
Indicates the display object align target.
UISprite
 InheritedlistenResize : Boolean
Indicates if the resize process is listening.
UISprite
 Inheritedselectable : Boolean
Indicates if the text is selectabled in the Label display.
Label
Public Methods
 MethodDefined by
  
Alert(text:String, actions:Array, tag:String = "uiAlert", color:uint = 0, alignement:Align = null, stickToEdge:Boolean = false, actionOnNextLine:Boolean = true)
Alert
 Inherited
alignTo(alignement:Align, target:DisplayObject = null):void
Align the specified display with the specified alignement value.
UISprite
 Inherited
appendText(value:String, newtag:String = ""):void
Appends more text to the label, with the option to change the CSS tag.
Label
  
close():void
Close the alert message.
Alert
  
onLink(event:TextEvent):void
Invoked when a link is selected in the text.
Alert
 Inherited
resize():void
Resize the display.
UISprite
Protected Methods
 MethodDefined by
 Inherited
dispose():void
Dispose the current Label instance.
Label
  
getAction(name:String):AlertAction
Alert
  
isValidAction(action:String):Boolean
Alert
  
layout():void
Alert
 Inherited
onResize(event:Event):void
Invoked when the stage is resized.
UISprite
  
spaces(num:int):String
Alert
Property detail
actionOnNextLineproperty
public var actionOnNextLine:Boolean = true
autoCloseproperty 
public var autoClose:Boolean = true
Constructor detail
Alert()constructor
public function Alert(text:String, actions:Array, tag:String = "uiAlert", color:uint = 0, alignement:Align = null, stickToEdge:Boolean = false, actionOnNextLine:Boolean = true)Parameters
text:String
 
actions:Array
 
tag:String (default = "uiAlert")
 
color:uint (default = 0)
 
alignement:Align (default = null)
 
stickToEdge:Boolean (default = false)
 
actionOnNextLine:Boolean (default = true)
Method detail
close()method
public function close():void

Close the alert message.

getAction()method 
protected function getAction(name:String):AlertActionParameters
name:String

Returns
AlertAction
isValidAction()method 
protected function isValidAction(action:String):BooleanParameters
action:String

Returns
Boolean
layout()method 
protected override function layout():void
onLink()method 
public override function onLink(event:TextEvent):void

Invoked when a link is selected in the text.

Parameters
event:TextEvent
spaces()method 
protected function spaces(num:int):StringParameters
num:int

Returns
String