Package | com.dwuser.ss4.managers |
Class | public class ImageManager |
ImageManager
style values which can be applied in the <styles>
section of the XML configuration file.
To learn how to customize the gallery password prompt, see the GalleryPasswordPanel
and GalleryPasswordAlert
classes.
Style XML Implementation Example:
The following example code goes in the <styles>
section of the main <slideshow>
holder node in a slideshow XML configuration file.
<styles> ... <ImageManager openDefaultGallery="true" openDefaultImage="true" preloadMode="smart" smartLoadDelay="50" destroyOldBitmaps="true" delayedSyncDelay="1000" resetGlobalSlideRefsOnSetGallery="false" /> ... </styles>
See also
Property | Defined by | ||
---|---|---|---|
currentGallery : Object [static]
Specifies the current gallery object (if any exists), in format of
{id:Gallery index, gallery:Gallery XML Node Reference} . | ImageManager | ||
currentImage : Object [static]
Specifies the current image object (if any exists), in format of
{id:Image index, image:Image XML Node Reference} . | ImageManager | ||
imagesLocked : Boolean = false [static]
Specifies if the images can be changed or if they are locked (usually due to a transition taking place).
| ImageManager | ||
multipleGalleriesExist : Boolean = false [static]
Specifies if more than one gallery exists.
| ImageManager |
Method | Defined by | ||
---|---|---|---|
ImageManager | |||
init():void
| ImageManager |
currentGallery | property |
public static var currentGallery:Object
Specifies the current gallery object (if any exists), in format of {id:Gallery index, gallery:Gallery XML Node Reference}
.
This property can be used as the source for data binding.
currentImage | property |
public static var currentImage:Object
Specifies the current image object (if any exists), in format of {id:Image index, image:Image XML Node Reference}
.
This property can be used as the source for data binding.
imagesLocked | property |
public static var imagesLocked:Boolean = false
Specifies if the images can be changed or if they are locked (usually due to a transition taking place).
This property can be used as the source for data binding.
multipleGalleriesExist | property |
public static var multipleGalleriesExist:Boolean = false
Specifies if more than one gallery exists. This bindable property can be used to determine if a gallery selector needs to be shown (if there's only one gallery, no selector would be needed).
This property can be used as the source for data binding.
ImageManager | () | constructor |
public function ImageManager()
init | () | method |
public function init():void