| Package | com.flextoolbox.controls |
| Class | public class PopUpThumbnail |
| Inheritance | PopUpThumbnail mx.controls.Image |
| Property | Defined by | ||
|---|---|---|---|
| clickToClosePopUp : Boolean
If
true, and the pop-up content is displayed, the user
may click anywhere on the screen to close the pop-up content. | PopUpThumbnail | ||
| source : Object
The URL, object, class or string name of a class to load as the
pop-up content.
| PopUpThumbnail | ||
| thumbnailSource : Object
The URL, object, class or string name of a class to load as the
thumbnail content.
| PopUpThumbnail | ||
| Method | Defined by | ||
|---|---|---|---|
|
Constructor.
| PopUpThumbnail | ||
| Event | Summary | Defined by | ||
|---|---|---|---|---|
| Dispatched when the user clicks anywhere on the screen while pop-up content is displayed to close the pop-up content. | PopUpThumbnail | |||
| Dispatched when the user clicks a thumbnail to display the pop-up content. | PopUpThumbnail | |||
| clickToClosePopUp | property |
clickToClosePopUp:Boolean [read-write]
If true, and the pop-up content is displayed, the user
may click anywhere on the screen to close the pop-up content.
Advanced developers may set this to false to close the
content using a different method. The content must dispatch a
CloseEvent.CLOSE event when it is ready to be closed.
public function get clickToClosePopUp():Boolean
public function set clickToClosePopUp(value:Boolean):void
| source | property |
source:Object [read-write]
The URL, object, class or string name of a class to load as the
pop-up content. If the related thumbnailSource property
is set to null, this source is also used to generate a
bitmap snapshot to display as the thumbnail.
The value of the source property represents a relative or
absolute URL; a ByteArray representing a SWF, GIF, JPEG, or PNG; an
object that implements IFlexDisplayObject; a class whose type
implements IFlexDisplayObject; or a String that represents a class.
public function get source():Object
public function set source(value:Object):void
See also
| thumbnailSource | property |
thumbnailSource:Object [read-write]
The URL, object, class or string name of a class to load as the
thumbnail content. If the thumbnailSource property is
null, the thumbnail will be automatically generated
as a bitmap snapshot of the source.
The value of the thumbnailSource property represents a relative or
absolute URL; a ByteArray representing a SWF, GIF, JPEG, or PNG; an
object that implements IFlexDisplayObject; a class whose type
implements IFlexDisplayObject; or a String that represents a class.
The default value is null.
public function get thumbnailSource():Object
public function set thumbnailSource(value:Object):void
See also
| PopUpThumbnail | () | constructor |
public function PopUpThumbnail()Constructor.
| popUpClose | event |
com.flextoolbox.events.PopUpThumbnailEvent
Dispatched when the user clicks anywhere on the screen while pop-up content is displayed to close the pop-up content.
| popUpOpen | event |
com.flextoolbox.events.PopUpThumbnailEvent
Dispatched when the user clicks a thumbnail to display the pop-up content.