home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Diversos / zombietypocalypse.swf / scripts / classes / graphical / information / bars / ProgresBar.as
Encoding:
Text File  |  2008-09-15  |  545 b   |  28 lines

  1. package classes.graphical.information.bars
  2. {
  3.    import flash.display.MovieClip;
  4.    
  5.    public class ProgresBar extends MovieClip
  6.    {
  7.        
  8.       
  9.       private var _progres:Number;
  10.       
  11.       public function ProgresBar()
  12.       {
  13.          super();
  14.       }
  15.       
  16.       public function setProgres(param1:Number) : void
  17.       {
  18.          this._progres = param1;
  19.          this.gotoAndStop(this._progres);
  20.       }
  21.       
  22.       public function getProgres() : Number
  23.       {
  24.          return this._progres;
  25.       }
  26.    }
  27. }
  28.