| Package | com.google.analytics.debug |
| Class | public class Alert |
| Inheritance | Alert Label UISprite flash.display.Sprite |
| Subclasses | FailureAlert, GIFRequestAlert, SuccessAlert |
| Property | Defined by | ||
|---|---|---|---|
| actionOnNextLine : Boolean = true | Alert | ||
![]() | alignement : Align
Indicates the alignement reference of this sprite.
| UISprite | |
| autoClose : Boolean = true | Alert | ||
![]() | count : uint = 0 [static]
| Label | |
![]() | forcedHeight : uint | UISprite | |
![]() | forcedWidth : uint | UISprite | |
![]() | margin : Margin
Indicates the margin reference of this sprite.
| UISprite | |
![]() | stickToEdge : Boolean
Indicates if the border of the label
stick to the edge.
| Label | |
![]() | tag : String
the CSS tag used for the label.
| Label | |
![]() | text : String
The text of the label.
| Label | |
| Method | Defined by | ||
|---|---|---|---|
| Alert | |||
![]() |
Align the specified display with the specified alignement value.
| UISprite | |
![]() |
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 | ||
![]() |
resize():void
Resize the display.
| UISprite | |
| Method | Defined by | ||
|---|---|---|---|
![]() |
dispose():void
Dispose the current Label instance.
| Label | |
|
getAction(name:String):AlertAction
| Alert | ||
|
isValidAction(action:String):Boolean
| Alert | ||
|
layout():void
| Alert | ||
![]() |
onResize(event:Event):void
Invoked when the stage is resized.
| UISprite | |
|
spaces(num:int):String
| Alert | ||
| actionOnNextLine | property |
public var actionOnNextLine:Boolean = true
| autoClose | property |
public var autoClose:Boolean = true
| 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) |
| close | () | method |
public function close():voidClose the alert message.
| getAction | () | method |
| isValidAction | () | method |
protected function isValidAction(action:String):BooleanParameters
action:String |
Boolean |
| layout | () | method |
protected override function layout():void
| onLink | () | method |
public override function onLink(event:TextEvent):voidInvoked when a link is selected in the text.
Parametersevent:TextEvent |
| spaces | () | method |
protected function spaces(num:int):StringParameters
num:int |
String |