next up previous contents
Next: zoom Up: Methods Previous: putObject   Contents


setZoomRect

Description

Zooms in on a rectangular area of the movie.


Syntax

FlashPlayer.setZoomRect(left, top, right, bottom)


Parameters

left, top, right, bootom
Specifies the coordinates of the rectangle. The units of the coordinates are in twips (1440 units per inch). variables.


Returns

Nothing


Example

var pointsToTwips = 20;
FlashPlayer.setZoomRect(0, 0,
    200 * pointsToTwips,
    200 * pointsToTwips);




Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.