User Guide

visible 1085
Example
This handler accepts a sprite reference as a parameter and moves the view of a Flash movie sprite
from the top to the bottom within the sprites bounding: rectangle:
-- Lingo syntax
on panDown(whichSprite)
repeat with i = 120 down to -120
sprite(whichSprite).viewV = i
_movie.updateStage()
end repeat
end
// JavaScript syntax
function panDown(whichSprite) {
var i = 120;
while(i > -121) {
sprite(whichSprite).viewV = i;
_movie.updateStage();
i--;
}
}
See also
scaleMode, viewV, viewPoint, viewH
visible
Usage
-- Lingo syntax
windowObjRef.visible
// JavaScript syntax
windowObjRef.visible;
Description
Window property; determines whether a window is visible (TRUE) or not (FALSE). Read/write.
Example
This statement makes the window named Control_Panel visible:
-- Lingo syntax
window("Control_Panel").visible = TRUE
// JavaScript syntax
window("Control_Panel").visible = true;
See also
Window