| Package | com.google.analytics.debug |
| Class | public class Debug |
| Inheritance | Debug Label UISprite flash.display.Sprite |
| Property | Defined by | ||
|---|---|---|---|
![]() | alignement : Align
Indicates the alignement reference of this sprite.
| UISprite | |
| count : uint = 0 [static]
| Debug | ||
![]() | forcedHeight : uint | UISprite | |
| forcedWidth : uint [read-only]
| Debug | ||
![]() | margin : Margin
Indicates the margin reference of this sprite.
| UISprite | |
| maxLines : uint = 16
The maximum number of lines in the debug label display.
| Debug | ||
![]() | 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 | ||
|---|---|---|---|
|
Creates a new Debug instance.
| Debug | ||
![]() |
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
| Debug | ||
![]() |
onLink(event:TextEvent):void
Invoked when a AS link in the text is clicked.
| Label | |
![]() |
resize():void
Resize the display.
| UISprite | |
|
write(message:String, bold:Boolean = false):void
Writes a new message in the debug label.
| Debug | ||
|
writeBold(message:String):void
| Debug | ||
| Method | Defined by | ||
|---|---|---|---|
|
dispose():void
| Debug | ||
![]() |
layout():void
Initialize the layout of all elements in the Label object.
| Label | |
![]() |
onResize(event:Event):void
Invoked when the stage is resized.
| UISprite | |
| count | property |
public static var count:uint = 0
| forcedWidth | property |
forcedWidth:uint [read-only]Implementation
public function get forcedWidth():uint
| maxLines | property |
public var maxLines:uint = 16The maximum number of lines in the debug label display.
| Debug | () | constructor |
public function Debug(color:uint = 0, alignement:Align = null, stickToEdge:Boolean = false)Creates a new Debug instance.
Parameterscolor:uint (default = 0) — The color of the debug label.
|
|
alignement:Align (default = null) — The Align value of the debug label.
|
|
stickToEdge:Boolean (default = false) — The flag to defines the stickToEdge value.
|
| close | () | method |
public function close():void
| dispose | () | method |
protected override function dispose():void
| write | () | method |
public function write(message:String, bold:Boolean = false):voidWrites a new message in the debug label.
Parametersmessage:String — The message value to show in the debug label in the application.
|
|
bold:Boolean (default = false) |
| writeBold | () | method |
public function writeBold(message:String):voidParameters
message:String |