Packagecom.adobe.portfolio.events
Classpublic class PreviewEvent
InheritancePreviewEvent Inheritance flash.events.Event

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

The PreviewEvent class extends Event and is dispatched by some components in the com.adobe.portfolio.previews package.



Public Methods
 MethodDefined By
  
PreviewEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor
PreviewEvent
Public Constants
 ConstantDefined By
  ASPECT_RATIO_CHANGED : String = aspectRatioChanged
[static] Type of PreviewEvent that is dispatched when the aspect ratio of a preview changes.
PreviewEvent
  HANDLE_FILE_EXTRACT : String = handleFileExtract
[static] Type of PreviewEvent that is dispatched when extract file is requested.
PreviewEvent
  HANDLE_FILE_INFO : String = handleFileInfo
[static] Type of PreviewEvent that is dispatched when file info is requested.
PreviewEvent
  MODEL_CHANGED : String = modelChanged
[static] Type of PreviewEvent that is dispatched when the preview model changes.
PreviewEvent
  PAGE_COUNT_CHANGED : String = pageCountChanged
[static] Type of PreviewEvent that is dispatched when the page count changes.
PreviewEvent
  PAGE_NUMBER_CHANGED : String = pageNumberChanged
[static] Type of PreviewEvent that is dispatched when the page number changes.
PreviewEvent
  PLAYHEAD_TIME_CHANGED : String = playHeadTimeChanged
[static] Type of PreviewEvent that is dispatched when the playHeadTime changes.
PreviewEvent
  SOURCE_CHANGED : String = sourceChanged
[static] Type of PreviewEvent that is dispatched when the source (of IPreviewModel) changes.
PreviewEvent
  THUMBNAIL_CHANGED : String = thumbnailChanged
[static] Type of PreviewEvent that is dispatched when the thumbnail changes.
PreviewEvent
  THUMBNAILS_CHANGED : String = thumbnailsChanged
[static] Type of PreviewEvent that is dispatched when the list of thumbnails for a multipage preview changes.
PreviewEvent
Constructor Detail
PreviewEvent()Constructor
public function PreviewEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Constructor

Parameters
type:String — Type of event
 
bubbles:Boolean (default = false) — Whether event bubbles or not.
 
cancelable:Boolean (default = false) — Whether event is cancelable

See also

Constant Detail
ASPECT_RATIO_CHANGEDConstant
public static const ASPECT_RATIO_CHANGED:String = aspectRatioChanged

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Type of PreviewEvent that is dispatched when the aspect ratio of a preview changes.

HANDLE_FILE_EXTRACTConstant 
public static const HANDLE_FILE_EXTRACT:String = handleFileExtract

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Type of PreviewEvent that is dispatched when extract file is requested.

HANDLE_FILE_INFOConstant 
public static const HANDLE_FILE_INFO:String = handleFileInfo

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Type of PreviewEvent that is dispatched when file info is requested.

MODEL_CHANGEDConstant 
public static const MODEL_CHANGED:String = modelChanged

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Type of PreviewEvent that is dispatched when the preview model changes.

See also

IPreviewModel
PAGE_COUNT_CHANGEDConstant 
public static const PAGE_COUNT_CHANGED:String = pageCountChanged

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Type of PreviewEvent that is dispatched when the page count changes.

PAGE_NUMBER_CHANGEDConstant 
public static const PAGE_NUMBER_CHANGED:String = pageNumberChanged

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Type of PreviewEvent that is dispatched when the page number changes.

PLAYHEAD_TIME_CHANGEDConstant 
public static const PLAYHEAD_TIME_CHANGED:String = playHeadTimeChanged

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Type of PreviewEvent that is dispatched when the playHeadTime changes.

SOURCE_CHANGEDConstant 
public static const SOURCE_CHANGED:String = sourceChanged

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Type of PreviewEvent that is dispatched when the source (of IPreviewModel) changes.

THUMBNAIL_CHANGEDConstant 
public static const THUMBNAIL_CHANGED:String = thumbnailChanged

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Type of PreviewEvent that is dispatched when the thumbnail changes.

THUMBNAILS_CHANGEDConstant 
public static const THUMBNAILS_CHANGED:String = thumbnailsChanged

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Type of PreviewEvent that is dispatched when the list of thumbnails for a multipage preview changes.