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


pan

Description

Pans a zoomed-in movie. specified by x and y. Use mode to specify whether the values for x and y are pixels or a percent of the window. When mode is 0, the coordinates are pixels; when mode is 1, the coordinates are percent of the window. Pan does not pan beyond the boundaries of the zoomed-in movie.


Syntax

FlashPlayer.pan(x, y, mode)


Parameters

x, y
Specifies the coordinates to pan.
mode
Specifies whether the values for x and y are pixels or a percent of the window. When mode is 0, the coordinates are pixels; when mode is 1, the coordinates are percent of the window.


Returns

Nothing




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