Packagecom.google.analytics.debug
Classpublic class UISprite
InheritanceUISprite Inheritance flash.display.Sprite
SubclassesLabel, Panel

The core UISprite class.



Public Properties
 PropertyDefined by
  alignement : Align
Indicates the alignement reference of this sprite.
UISprite
  forcedHeight : uint
UISprite
  forcedWidth : uint
UISprite
  margin : Margin
Indicates the margin reference of this sprite.
UISprite
Protected Properties
 PropertyDefined by
  alignTarget : DisplayObject
Indicates the display object align target.
UISprite
  listenResize : Boolean
Indicates if the resize process is listening.
UISprite
Public Methods
 MethodDefined by
  
UISprite(alignTarget:DisplayObject = null)
Creates a new UISprite instance.
UISprite
  
alignTo(alignement:Align, target:DisplayObject = null):void
Align the specified display with the specified alignement value.
UISprite
  
resize():void
Resize the display.
UISprite
Protected Methods
 MethodDefined by
  
dispose():void
Dispose (clean up) the display.
UISprite
  
layout():void
Layout the display.
UISprite
  
onResize(event:Event):void
Invoked when the stage is resized.
UISprite
Property detail
alignementproperty
public var alignement:Align

Indicates the alignement reference of this sprite.

alignTargetproperty 
protected var alignTarget:DisplayObject

Indicates the display object align target.

forcedHeightproperty 
forcedHeight:uint  [read-write]Implementation
    public function get forcedHeight():uint
    public function set forcedHeight(value:uint):void
forcedWidthproperty 
forcedWidth:uint  [read-write]Implementation
    public function get forcedWidth():uint
    public function set forcedWidth(value:uint):void
listenResizeproperty 
protected var listenResize:Boolean

Indicates if the resize process is listening.

marginproperty 
public var margin:Margin

Indicates the margin reference of this sprite.

Constructor detail
UISprite()constructor
public function UISprite(alignTarget:DisplayObject = null)

Creates a new UISprite instance.

Parameters
alignTarget:DisplayObject (default = null)
Method detail
alignTo()method
public function alignTo(alignement:Align, target:DisplayObject = null):void

Align the specified display with the specified alignement value.

Parameters
alignement:Align
 
target:DisplayObject (default = null)
dispose()method 
protected function dispose():void

Dispose (clean up) the display.

layout()method 
protected function layout():void

Layout the display.

onResize()method 
protected function onResize(event:Event):void

Invoked when the stage is resized.

Parameters
event:Event
resize()method 
public function resize():void

Resize the display.