mirror of
https://github.com/MapMakersAndProgrammers/TankiOnline2.0DemoClient.git
synced 2025-10-26 09:59:07 -07:00
32 lines
759 B
ActionScript
32 lines
759 B
ActionScript
package mx.core
|
|
{
|
|
import flash.display.Bitmap;
|
|
import flash.display.BitmapData;
|
|
import mx.utils.NameUtil;
|
|
|
|
use namespace mx_internal;
|
|
|
|
public class FlexBitmap extends Bitmap
|
|
{
|
|
mx_internal static const VERSION:String = "4.5.0.19786";
|
|
|
|
public function FlexBitmap(bitmapData:BitmapData = null, pixelSnapping:String = "auto", smoothing:Boolean = false)
|
|
{
|
|
super(bitmapData,pixelSnapping,smoothing);
|
|
try
|
|
{
|
|
name = NameUtil.createUniqueName(this);
|
|
}
|
|
catch(e:Error)
|
|
{
|
|
}
|
|
}
|
|
|
|
override public function toString() : String
|
|
{
|
|
return NameUtil.displayObjectToString(this);
|
|
}
|
|
}
|
|
}
|
|
|