Packagecom.adobe.portfolio.previews
Interfacepublic interface IPreview extends mx.core.IVisualElement
Implementors Preview

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

The IPreview interface extends IVisualElement and defines the base functionality of Preview that can be accessed by other components.



Public Properties
 PropertyDefined By
  aspectRatio : Number
The aspect ratio of the preview.
IPreview
  enabled : Boolean
[read-only]
IPreview
  model : IPreviewModel
The current preview model.
IPreview
  pageNavigationEnabled : Boolean
[read-only] Whether page navigation is enabled (via keyboard, mousewheel)
IPreview
  usePlatformPreview : Boolean
[read-only] Whether this preview should use platform preview (as opposed to navigator preview).
IPreview
Public Methods
 MethodDefined By
  
Stop the playback of media content in this preview.
IPreview
Events
 Event Summary Defined By
  A PreviewEvent that is dispatched for a change to the aspect ratio of the preview.IPreview
  A PreviewEvent that is dispatched for a change to the preview model (IPreviewModel).IPreview
Property Detail
aspectRatioproperty
aspectRatio:Number

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

The aspect ratio of the preview.

This property can be used as the source for data binding.


Implementation
    public function get aspectRatio():Number
    public function set aspectRatio(value:Number):void

See also

enabledproperty 
enabled:Boolean  [read-only]

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


Implementation
    public function get enabled():Boolean
modelproperty 
model:IPreviewModel

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

The current preview model.

This property can be used as the source for data binding.


Implementation
    public function get model():IPreviewModel
    public function set model(value:IPreviewModel):void

See also

pageNavigationEnabledproperty 
pageNavigationEnabled:Boolean  [read-only]

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

Whether page navigation is enabled (via keyboard, mousewheel)


Implementation
    public function get pageNavigationEnabled():Boolean
usePlatformPreviewproperty 
usePlatformPreview:Boolean  [read-only]

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

Whether this preview should use platform preview (as opposed to navigator preview).


Implementation
    public function get usePlatformPreview():Boolean
Method Detail
stopPlayback()method
public function stopPlayback():void

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

Stop the playback of media content in this preview.

Event Detail
aspectRatioChanged Event
Event Object Type: com.adobe.portfolio.events.PreviewEvent

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

A PreviewEvent that is dispatched for a change to the aspect ratio of the preview.

See also

modelChanged Event  
Event Object Type: com.adobe.portfolio.events.PreviewEvent

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

A PreviewEvent that is dispatched for a change to the preview model (IPreviewModel).

See also