home *** CD-ROM | disk | FTP | other *** search
/ Ice Age Fan CD 1 / CD1_Scrat.iso / flash / data / game.swf / scripts / com / google / analytics / debug / Align.as < prev    next >
Encoding:
Text File  |  2012-07-04  |  1.2 KB  |  48 lines

  1. package com.google.analytics.debug
  2. {
  3.    public class Align
  4.    {
  5.       public static const none:Align = new Align(0,"none");
  6.       
  7.       public static const top:Align = new Align(1,"top");
  8.       
  9.       public static const bottom:Align = new Align(2,"bottom");
  10.       
  11.       public static const right:Align = new Align(16,"right");
  12.       
  13.       public static const left:Align = new Align(32,"left");
  14.       
  15.       public static const center:Align = new Align(256,"center");
  16.       
  17.       public static const topLeft:Align = new Align(33,"topLeft");
  18.       
  19.       public static const topRight:Align = new Align(17,"topRight");
  20.       
  21.       public static const bottomLeft:Align = new Align(34,"bottomLeft");
  22.       
  23.       public static const bottomRight:Align = new Align(18,"bottomRight");
  24.       
  25.       private var _value:int;
  26.       
  27.       private var _name:String;
  28.       
  29.       public function Align(param1:int = 0, param2:String = "")
  30.       {
  31.          super();
  32.          _value = param1;
  33.          _name = param2;
  34.       }
  35.       
  36.       public function valueOf() : int
  37.       {
  38.          return _value;
  39.       }
  40.       
  41.       public function toString() : String
  42.       {
  43.          return _name;
  44.       }
  45.    }
  46. }
  47.  
  48.