This class is the backgound of the gallery into which the images load and all the cool masking transitions happen. The following events are dispatched by this class:
ImageLoaded - dispatched when the image is loaded
ImageLoading - Helps you keep track of the load progress of the image. The event has the following properties:
progress - It is a number less than or equal to one denoting the progress of the image.
new BgImage()public fadeEaseType:String [Write Only]public fadeTime:Number [Write Only]public loopVideo:Booleanpublic isVideo:Boolean [Read Only]public function loadImage(path:String)Use this method to load any image.
path | - path of the image to be loaded |
public function loadVideo(path:String)Use this method to load a video.
path | - path of the video to be loaded |