Packagecom.flextoolbox.controls
Classpublic class ZoomFrame
InheritanceZoomFrame Inheritance mx.core.ScrollControlBase

Holds a DisplayObject which may be zoomed in or out by altering the scale property. A border is displayed around the content if desired.

Default MXML Propertycontent

See also

flash.display.DisplayObject


Public Properties
 PropertyDefined by
  content : DisplayObject
ZoomFrame
  scale : Number
ZoomFrame
Public Methods
 MethodDefined by
  
Constructor.
ZoomFrame
Styles
 StyleDescriptionDefined by
  
horizontalAlign
Type: String
The horizontal alignment of the ZoomFrame's content. Possible values are "left", "center", and "right". The default value is "left".
ZoomFrame
  
paddingBottom
Type: Number   Format: Length
Number of pixels between the bottom border and the bottom edge of the content. The default value is 0.
ZoomFrame
  
paddingLeft
Type: Number   Format: Length
Number of pixels between the left border and the left edge of the content. The default value is 0.
ZoomFrame
  
paddingRight
Type: Number   Format: Length
Number of pixels between the right border and the right edge of the content. The default value is 0.
ZoomFrame
  
paddingTop
Type: Number   Format: Length
Number of pixels between the top border and the top edge of the content. The default value is 0.
ZoomFrame
  
verticalAlign
Type: String
The vertical alignment of the ZoomFrame's content. Possible values are "top", "middle", and "bottom". The default value is "top".
ZoomFrame
Property detail
contentproperty
content:DisplayObject  [read-write]

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

Implementation
    public function get content():DisplayObject
    public function set content(value:DisplayObject):void
scaleproperty 
scale:Number  [read-write]

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

Implementation
    public function get scale():Number
    public function set scale(value:Number):void
Constructor detail
ZoomFrame()constructor
public function ZoomFrame()

Constructor.