Used for extracting assets from the library in the Flash IDE
public static function extractBitmap(id:String, applicationDomain:ApplicationDomain = null):Bitmap
Used to extract a Bitmap from the library
Parameters
| id:String — The Linkage ID of the asset
|
| |
| applicationDomain:ApplicationDomain (default = null) — The ApplicationDomain within which to load the asset
|
Returns
| Bitmap — The asset, cast as a Bitmap object
|
public static function extractBitmapData(id:String, applicationDomain:ApplicationDomain = null):BitmapData
Used to extract a BitmapData from the library
Parameters
| id:String — The Linkage ID of the asset
|
| |
| applicationDomain:ApplicationDomain (default = null) — The ApplicationDomain within which to load the asset
|
Returns
| BitmapData — The asset, cast as a BitmapData object
|
public static function extractFont(id:String, applicationDomain:ApplicationDomain = null):Font
Used to extract a Font from the library
Parameters
| id:String — The Linkage ID of the asset
|
| |
| applicationDomain:ApplicationDomain (default = null) — The ApplicationDomain within which to load the asset
|
Returns
| Font — The asset, cast as a Font object
|
public static function extractMovieClip(id:String, applicationDomain:ApplicationDomain = null):MovieClip
Used to extract a MovieClip from the library
Parameters
| id:String — The Linkage ID of the asset
|
| |
| applicationDomain:ApplicationDomain (default = null) — The ApplicationDomain within which to load the asset
|
Returns
| MovieClip — The asset, cast as a MovieClip object
|
public static function extractSound(id:String, applicationDomain:ApplicationDomain = null):Sound
Used to extract a Sound from the library
Parameters
| id:String — The Linkage ID of the asset
|
| |
| applicationDomain:ApplicationDomain (default = null) — The ApplicationDomain within which to load the asset
|
Returns
| Sound — The asset, cast as a Sound object
|
public static function extractSprite(id:String, applicationDomain:ApplicationDomain = null):Sprite
Used to extract a Sprite from the library
Parameters
| id:String — The Linkage ID of the asset
|
| |
| applicationDomain:ApplicationDomain (default = null) — The ApplicationDomain within which to load the asset
|
Returns
| Sprite — The asset, cast as a Sprite object
|
public static function getFontName(id:String, applicationDomain:ApplicationDomain = null):String
Used to get the name of a Font from the library
Parameters
| id:String — The Linkage ID of the asset
|
| |
| applicationDomain:ApplicationDomain (default = null) — The ApplicationDomain within which to load the asset
|
Returns
chris@acleveraddress.com - 2010