Class imagegal.BgImage

Description

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

Method Index

new BgImage()
addEventListener(), loadImage(), removeEventListener(), resize()

Constructor Detail

BgImage

public function BgImage()

Method Detail

loadImage

public function loadImage(path:String)

resize

public function resize(w:Number, h:Number)

Use this function to resize the background to certain dimensions

Parameters

w- value for the width
h- value for the height

addEventListener

public function addEventListener()

removeEventListener

public function removeEventListener()