The flash.display package contains the core classes that the Flash Player uses to build visual displays.
Interfaces
Interface | Description | |
---|---|---|
IBitmapDrawable | The IBitmapDrawable interface is implemented by objects that can be passed as the source parameter of the draw() method of the BitmapData class. | |
IGraphicsData | This interface is used to define objects that can be used as parameters in the flash.display.Graphics methods, including fills, strokes, and paths. | |
IGraphicsFill | This interface is used to define objects that can be used as fill parameters in the flash.display.Graphics methods and drawing classes. | |
IGraphicsPath | This interface is used to define objects that can be used as path parameters in the flash.display.Graphics methods and drawing classes. | |
IGraphicsStroke | This interface is used to define objects that can be used as stroke parameters in the flash.display.Graphics methods and drawing classes. |
Classes
Class | Description | |
---|---|---|
ActionScriptVersion | The ActionScriptVersion class is an enumeration of constant values that indicate the language version of a loaded SWF file. | |
AVLoader | ||
AVM1Movie | AVM1Movie is a simple class that represents AVM1 movie clips, which use ActionScript 1.0 or 2.0. | |
Bitmap | The Bitmap class represents display objects that represent bitmap images. | |
BitmapData | The BitmapData class lets you work with the data (pixels) of a Bitmap object bitmap image. | |
BitmapDataChannel | The BitmapDataChannel class is an enumeration of constant values that indicate which channel to use: red, blue, green, or alpha transparency. | |
BitmapEncodingColorSpace | The BitmapEncodingColorSpace class defines the constants that specify how color channels are sampled by the flash.display.BitmapData.encode() method when specifying the compressor as flash.display.JPEGXREncoderOptions. | |
BlendMode | A class that provides constant values for visual blend mode effects. | |
CapsStyle | The CapsStyle class is an enumeration of constant values that specify the caps style to use in drawing lines. | |
ColorCorrection | The ColorCorrection class provides values for the flash.display.Stage.colorCorrection property. | |
ColorCorrectionSupport | The ColorCorrectionSupport class provides values for the flash.display.Stage.colorCorrectionSupport property. | |
DisplayObject | The DisplayObject class is the base class for all objects that can be placed on the display list. | |
DisplayObjectContainer | The DisplayObjectContainer class is the base class for all objects that can serve as display object containers on the display list. | |
FocusDirection | The FocusDirection class enumerates values to be used for the direction parameter of the assignFocus() method of a Stage object and for the direction property of a FocusEvent object. | |
FrameLabel | The FrameLabel object contains properties that specify a frame number and the corresponding label name. | |
GradientType | The GradientType class provides values for the type parameter in the beginGradientFill() and lineGradientStyle() methods of the flash.display.Graphics class. | |
Graphics | The Graphics class contains a set of methods that you can use to create a vector shape. | |
GraphicsBitmapFill | Defines a bitmap fill. | |
GraphicsEndFill | Indicates the end of a graphics fill. | |
GraphicsGradientFill | Defines a gradient fill. | |
GraphicsPath | A collection of drawing commands and the coordinate parameters for those commands. | |
GraphicsPathCommand | Defines the values to use for specifying path-drawing commands. | |
GraphicsPathWinding | The GraphicsPathWinding class provides values for the flash.display.GraphicsPath.winding property and the flash.display.Graphics.drawPath() method to determine the direction to draw a path. | |
GraphicsShaderFill | Defines a shader fill. | |
GraphicsSolidFill | Defines a solid fill. | |
GraphicsStroke | Defines a line style or stroke. | |
GraphicsTrianglePath | Defines an ordered set of triangles that can be rendered using either (u,v) fill coordinates or a normal fill. | |
InteractiveObject | The InteractiveObject class is the abstract base class for all display objects with which the user can interact, using the mouse, keyboard, or other user input device. | |
InterpolationMethod | The InterpolationMethod class provides values for the interpolationMethod parameter in the Graphics.beginGradientFill() and Graphics.lineGradientStyle() methods. | |
JointStyle | The JointStyle class is an enumeration of constant values that specify the joint style to use in drawing lines. | |
JPEGEncoderOptions | The JPEGEncoderOptions class defines a compression algorithm for the flash.display.BitmapData.encode() method. | |
JPEGXREncoderOptions | The JPEGXREncoderOptions class defines a compression algorithm for the flash.display.BitmapData.encode() method. | |
LineScaleMode | The LineScaleMode class provides values for the scaleMode parameter in the Graphics.lineStyle() method. | |
Loader | The Loader class is used to load SWF files or image (JPG, PNG, or GIF) files. | |
LoaderInfo | The LoaderInfo class provides information about a loaded SWF file or a loaded image file (JPEG, GIF, or PNG). | |
MorphShape | The MorphShape class represents MorphShape objects on the display list. | |
MovieClip | The MovieClip class inherits from the following classes: Sprite, DisplayObjectContainer, InteractiveObject, DisplayObject, and EventDispatcher. | |
NativeMenu | The NativeMenu class contains methods and properties for defining native menus. | |
NativeMenuItem | The NativeMenuItem class represents a single item in a menu. | |
NativeWindow | The NativeWindow class provides an interface for creating and controlling native desktop windows. | |
NativeWindowDisplayState | The NativeWindowDisplayState class defines constants for the names of the window display states. | |
NativeWindowInitOptions | The NativeWindowInitOptions class defines the initialization options used to construct a new NativeWindow instance. | |
NativeWindowRenderMode | The NativeWindowRenderMode class defines constants for the renderMode property of the NativeWindowInitOptions object used to create a native window. | |
NativeWindowResize | The NativeWindowResize class defines constants for the possible values of the edgeOrCorner parameter of the NativeWindow startResize() method. | |
NativeWindowSystemChrome | The NativeWindowSystemChrome class defines constants for the systemChrome property of the NativeWindowInitOptions object used to create a native window. | |
NativeWindowType | The NativeWindowType class defines constants for the type property of the NativeWindowInitOptions object used to create a native window. | |
PixelSnapping | The PixelSnapping class is an enumeration of constant values for setting the pixel snapping options by using the pixelSnapping property of a Bitmap object. | |
PNGEncoderOptions | The PNGEncoderOptions class defines a compression algorithm for the flash.display.BitmapData.encode() method. | |
Scene | The Scene class includes properties for identifying the name, labels, and number of frames in a scene. | |
Screen | The Screen class provides information about the display screens available to this application. | |
ScreenMode | The ScreenMode object provides information about the width, height and refresh rate of a Screen. | |
Shader | A Shader instance represents a Pixel Bender shader kernel in ActionScript. | |
ShaderData | A ShaderData object contains properties representing any parameters and inputs for a shader kernel, as well as properties containing any metadata specified for the shader. | |
ShaderInput | A ShaderInput instance represents a single input image for a shader kernel. | |
ShaderJob | A ShaderJob instance is used to execute a shader operation in stand-alone mode. | |
ShaderParameter | A ShaderParameter instance represents a single input parameter of a shader kernel. | |
ShaderParameterType | This class defines the constants that represent the possible values for the ShaderParameter class's type property. | |
ShaderPrecision | This class defines the constants that represent the possible values for the Shader class's precisionHint property. | |
Shape | This class is used to create lightweight shapes using the ActionScript drawing application program interface (API). | |
SimpleButton | The SimpleButton class lets you control all instances of button symbols in a SWF file. | |
SpreadMethod | The SpreadMethod class provides values for the spreadMethod parameter in the beginGradientFill() and lineGradientStyle() methods of the Graphics class. | |
Sprite | The Sprite class is a basic display list building block: a display list node that can display graphics and can also contain children. | |
Stage | The Stage class represents the main drawing area. | |
Stage3D | The Stage3D class provides a display area and a programmable rendering context for drawing 2D and 3D graphics. | |
StageAlign | The StageAlign class provides constant values to use for the Stage.align property. | |
StageAspectRatio | The StageAspectRatio class provides values for the Stage.setAspectRatio() method. | |
StageDisplayState | The StageDisplayState class provides values for the Stage.displayState property. | |
StageOrientation | The StageOrientation class defines constants enumerating the possible orientations of the stage and the device. | |
StageQuality | The StageQuality class provides values for the Stage.quality property and for the value of the quality parameter to the BitmapData.drawWithQuality() method. | |
StageScaleMode | The StageScaleMode class provides values for the Stage.scaleMode property. | |
SWFVersion | The SWFVersion class is an enumeration of constant values that indicate the file format version of a loaded SWF file. | |
TriangleCulling | Defines codes for culling algorithms that determine which triangles not to render when drawing triangle paths. |
Thu Dec 6 2018, 01:47 PM -08:00