home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Diversos / Jumper.swf / scripts / mx / core / FlexBitmap.as < prev    next >
Encoding:
Text File  |  2008-09-05  |  770 b   |  33 lines

  1. package mx.core
  2. {
  3.    import flash.display.Bitmap;
  4.    import flash.display.BitmapData;
  5.    import mx.utils.NameUtil;
  6.    
  7.    use namespace mx_internal;
  8.    
  9.    public class FlexBitmap extends Bitmap
  10.    {
  11.       
  12.       mx_internal static const VERSION:String = "3.0.0.0";
  13.        
  14.       
  15.       public function FlexBitmap(bitmapData:BitmapData = null, pixelSnapping:String = "auto", smoothing:Boolean = false)
  16.       {
  17.          super(bitmapData,pixelSnapping,smoothing);
  18.          try
  19.          {
  20.             name = NameUtil.createUniqueName(this);
  21.          }
  22.          catch(e:Error)
  23.          {
  24.          }
  25.       }
  26.       
  27.       override public function toString() : String
  28.       {
  29.          return NameUtil.displayObjectToString(this);
  30.       }
  31.    }
  32. }
  33.