Packagecom.derschmale.display.io
Classpublic class PCXLoader
InheritancePCXLoader Inheritance flash.events.EventDispatcher

The PCXLoader class loads a PCX image file into a BitmapData object. Currently, only files with a maximum of 256 colours are supported.



Public Properties
 PropertyDefined by
  bitmapData : BitmapData
[read-only] The loaded image as BitmapData.
PCXLoader
Public Methods
 MethodDefined by
  
Creates a new PCXLoader instance.
PCXLoader
  
loadPCX(filename:String):void
Loads a PCX file.
PCXLoader
Property detail
bitmapDataproperty
bitmapData:BitmapData  [read-only]

The loaded image as BitmapData. This value is null until ImageLoaderEvent.IMAGE_LOADED is dispatched.

Implementation
    public function get bitmapData():BitmapData
Constructor detail
PCXLoader()constructor
public function PCXLoader()

Creates a new PCXLoader instance.

Method detail
loadPCX()method
public function loadPCX(filename:String):void

Loads a PCX file. When the image has finished loading, ImageLoaderEvent.IMAGE_LOADED will be dispatched.

Parameters
filename:String — The filename of the pcx file.