Packagemx.core
Interfacepublic interface IFlexAsset
ImplementorsBitmapAsset, ButtonAsset, MovieClipAsset, MovieClipLoaderAsset, SoundAsset, SpriteAsset, TextFieldAsset

IFlexAsset is a marker interface with the following meaning: if a class declares that it implements IFlexAsset, then that class represents an asset -- such as a bitmap, a font, or a sound -- that has been embedded in a Flex application. This interface does not define any properties or methods that the class must actually implement.

The Flash Player uses ActionScript classes to represent embedded assets as well as executable ActionScript code. When you embed an asset in a Flex application, the MXML compiler autogenerates a class to represent it, and all such classes declare that they implement IFlexAsset so that they can be distinguished from the code classes.







 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flex/2/langref/mx/core/IFlexAsset.html