adapter is used to provide MovieClip to scripts taken from different platforms setter typically managed by factory. getter defaults to AwayJS class
A unique id for the asset, used to identify assets in an associative array
The original name used for this asset in the resource (e.g. file) in which
it was found. This may not be the same as name
, which may
have changed due to of a name conflict.
Add an event listener
Dispatch an event
check if an object has an event listener assigned to it
Remove an event listener
Generated using TypeDoc
The Bitmap export class represents display objects that represent bitmap images. These can be images that you load with the
flash.Assets
orflash.display.Loader
classes, or they can be images that you create with theBitmap()
constructor.The
Bitmap()
constructor allows you to create a Bitmap object that contains a reference to a BitmapData object. After you create a Bitmap object, use theaddChild()
oraddChildAt()
method of the parent DisplayObjectContainer instance to place the bitmap on the display list.A Bitmap object can share its BitmapData reference among several Bitmap objects, independent of translation or rotation properties. Because you can create multiple Bitmap objects that reference the same BitmapData object, multiple texture objects can use the same complex BitmapData object without incurring the memory overhead of a BitmapData object for each texture object instance.