FlexImage Class

Description

Lets you import JPEG, PNG, GIF, and SWF files at runtime.

You can also embed any of these files and SVG files at compile time by using @Embed(source='filename').

Note: Flex also includes the SWFLoader control for loading Flex applications. You typically use the Image control for loading static graphic files and SWF files, and use the SWFLoader control for loading Flex applications. The Image control is also designed to be used in custom item renderers and item editors.

Availability

This class is supported only on the Open Agent.

Inheritance

FlexImage is derived from the FlexLoader class. No classes derive from this class.

Methods

FlexImage inherits all its methods from FlexLoader, FlexObject, FlexDisplayObject, and AnyWin.

Properties

FlexImage inherits all its properties from FlexLoader, FlexObject, FlexDisplayObject, and AnyWin.