Section 25.131. FlashPlayer.Zoom( ): zoom in or out


25.131. FlashPlayer.Zoom( ): zoom in or out

Flash 2

25.131.1. Synopsis

 void Zoom(integer percentage) 

25.131.1.1. Arguments

percentage

The percentage by which to scale the viewport, or 0 to restore the viewport to its full size.

25.131.2. Description

This method scales the viewport by a specified percentage. Arguments between 1 and 99 reduce the size of the viewport, which makes objects in the movie appear larger. Arguments greater than 100 enlarge the viewport (but never beyond the size of the movie) and make objects in the movie appear smaller. As a special case, the argument 0 restores the viewport to full size, so that the entire movie is visible.




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