Section 25.128. FlashPlayer.SetZoomRect( ): set the viewport of a movie


25.128. FlashPlayer.SetZoomRect( ): set the viewport of a movie

Flash 2

25.128.1. Synopsis

 void SetZoomRect(integer left, integer top,                  integer right, integer bottom) 

25.128.1.1. Arguments

left, top

The coordinates, in twips, of the upper-left corner of the viewport.


right, bottom

The coordinates, in twips, of the lower-right corner of the viewport.

25.128.2. Description

This method defines the movie's viewportthat is, it specifies a subrectangle of the movie to appear in the Flash player. Flash movies are measured in a unit known as the twip. There are 20 twips to a point and 1,440 twips to an inch.

25.128.3. See Also

FlashPlayer.Pan( ), FlashPlayer.Zoom( )




JavaScript. The Definitive Guide
JavaScript: The Definitive Guide
ISBN: 0596101996
EAN: 2147483647
Year: 2004
Pages: 767

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net