Packagecom.sibirjak.angara.resource
Interfacepublic interface IResourceLoaderContainer

The IResourceLoaderContainer declares an arbitrary display class to be a target of the loaded content of an IDisplayAssetLoader.

You may develop a more complex display class. When implementing this interface and assigning the display class to an IDisplayAssetLoader instance, the addLoadedContent() will be called after the resource is ready to display. Within the addLoadedContent() method you can perform your custom addChild() operation.

See also

IDisplayAssetLoader


Public Methods
 MethodDefined by
  
addLoadedContent(content:DisplayObject):void
Method that is called if the resource of the according IDisplayAssetLoader is ready to be displayed.
IResourceLoaderContainer
Method detail
addLoadedContent()method
public function addLoadedContent(content:DisplayObject):void

Method that is called if the resource of the according IDisplayAssetLoader is ready to be displayed.

Parameters
content:DisplayObject — The content to be displayed.