August 2006
Intermediate to advanced
1018 pages
34h 13m
English
FlashPlayer.SetZoomRect( ): set the viewport of a movie — Flash 2
void SetZoomRect(integerleft, integertop, integerright, integerbottom)
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.
This method defines the movie’s viewport—that 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.
FlashPlayer.Pan( ),
FlashPlayer.Zoom( )
Read now
Unlock full access