mirror of
				https://github.com/MapMakersAndProgrammers/TankiOnline2.0DemoClient.git
				synced 2025-10-27 02:19:07 -07:00 
			
		
		
		
	Initial commit
This commit is contained in:
		
							
								
								
									
										31
									
								
								src/mx/core/FlexBitmap.as
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								src/mx/core/FlexBitmap.as
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,31 @@ | ||||
| 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); | ||||
|       } | ||||
|    } | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Pyogenics
					Pyogenics