Packagecom.google.analytics.debug
Classpublic class Debug
InheritanceDebug Inheritance Label Inheritance UISprite Inheritance flash.display.Sprite

The Debug class.



Public Properties
 PropertyDefined by
 Inheritedalignement : Align
Indicates the alignement reference of this sprite.
UISprite
  count : uint = 0
[static]
Debug
 InheritedforcedHeight : uint
UISprite
  forcedWidth : uint
[read-only]
Debug
 Inheritedmargin : Margin
Indicates the margin reference of this sprite.
UISprite
  maxLines : uint = 16
The maximum number of lines in the debug label display.
Debug
 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
  
Debug(color:uint = 0, alignement:Align = null, stickToEdge:Boolean = false)
Creates a new Debug instance.
Debug
 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
Debug
 Inherited
onLink(event:TextEvent):void
Invoked when a AS link in the text is clicked.
Label
 Inherited
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
Protected Methods
 MethodDefined by
  
dispose():void
Debug
 Inherited
layout():void
Initialize the layout of all elements in the Label object.
Label
 Inherited
onResize(event:Event):void
Invoked when the stage is resized.
UISprite
Property detail
countproperty
public static var count:uint = 0
forcedWidthproperty 
forcedWidth:uint  [read-only]Implementation
    public function get forcedWidth():uint
maxLinesproperty 
public var maxLines:uint = 16

The maximum number of lines in the debug label display.

Constructor detail
Debug()constructor
public function Debug(color:uint = 0, alignement:Align = null, stickToEdge:Boolean = false)

Creates a new Debug instance.

Parameters
color: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.
Method detail
close()method
public function close():void
dispose()method 
protected override function dispose():void
write()method 
public function write(message:String, bold:Boolean = false):void

Writes a new message in the debug label.

Parameters
message: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