Packageverlocity.display.gui
Classpublic class Achievement
InheritanceAchievement Inheritance UIElement Inheritance flash.display.Sprite



Public Properties
 PropertyDefined By
 InheritedoriginX : Number
UIElement
 InheritedoriginY : Number
UIElement
Protected Properties
 PropertyDefined By
 InheritednScale : Number
UIElement
Public Methods
 MethodDefined By
  
Achievement(sName:String, sDesc:String)
Achievement
 Inherited
Clear():void
Clears all graphics drawn on the UI element.
UIElement
  
Dispose():void
[override]
Achievement
 Inherited
DrawRect(uiColor:uint = 0xFFFFFF, nAlpha:Number = 1, iWidth:int = 0, iHeight:int = 0, bLine:Boolean = false, iLineThickness:int = 1, uiLineColor:uint = 0xFFFFFF, nLineAlpha:Number = 1, bRounded:Boolean = false, iRoundness:int = 10, iOffsetX:int = 0, iOffsetY:int = 1):void
Draws a rectangle onto the UI element.
UIElement
 Inherited
GetScale():Number
Returns the scale of the UI element.
UIElement
 Inherited
ResetPos():void
Resets the X and Y position of the UI element to its original spawn position.
UIElement
 Inherited
SetOriginPos(nPosX:Number, nPosY:Number):void
Overrides origin position
UIElement
 Inherited
SetPos(nPosX:Number, nPosY:Number):void
Sets the X and Y position of the UI element.
UIElement
 Inherited
SetScale(nSetScale:Number):void
Sets the scale of the UI element.
UIElement
Public Constants
 ConstantDefined By
  achiHeight : int = 75
[static]
Achievement
  achiWidth : int = 255
[static]
Achievement
  descFormat : TextFormat
[static]
Achievement
  nameFormat : TextFormat
[static]
Achievement
Constructor Detail
Achievement()Constructor
public function Achievement(sName:String, sDesc:String)



Parameters
sName:String
 
sDesc:String
Method Detail
Dispose()method
override public function Dispose():void

Constant Detail
achiHeightConstant
public static const achiHeight:int = 75

achiWidthConstant 
public static const achiWidth:int = 255

descFormatConstant 
public static const descFormat:TextFormat

nameFormatConstant 
public static const nameFormat:TextFormat