home *** CD-ROM | disk | FTP | other *** search
/ Canadian Forces: A World of Opportunities / CanadianForces-AWorldOfOpportunities-WinMac.bin / 03_WayLife_FR.swf / scripts / __Packages / mx / skins / SkinElement.as
Text File  |  2006-07-20  |  552b  |  27 lines

  1. class mx.skins.SkinElement extends MovieClip
  2. {
  3.    function SkinElement()
  4.    {
  5.       super();
  6.    }
  7.    static function registerElement(name, className)
  8.    {
  9.       Object.registerClass(name,className != undefined ? className : mx.skins.SkinElement);
  10.       _global.skinRegistry[name] = true;
  11.    }
  12.    function __set__visible(visible)
  13.    {
  14.       this._visible = visible;
  15.    }
  16.    function move(x, y)
  17.    {
  18.       this._x = x;
  19.       this._y = y;
  20.    }
  21.    function setSize(w, h)
  22.    {
  23.       this._width = w;
  24.       this._height = h;
  25.    }
  26. }
  27.