| Syntax: |
the viewV of sprite whichFlashSprite |
|
the viewV of member whichFlashMember
|
| Type: |
Cast member property; sprite property |
| Description: |
This property controls the vertical coordinate of a Flash movie's view point. This point is specified in Flash movie pixel units. The point values can be floating-point numbers. |
|
A Flash movie's view point is set relative to its origin point. For more information,
see the viewPoint property.
|
|
Setting a positive value for viewV shifts the movie up inside the sprite; setting a
negative value shifts the movie down. Therefore, changing the viewV property can
have the effect of cropping the movie, or even of removing the movie from view
entirely.
|
|
The viewV property can be tested and set. The default setting is 0.
|
| Example: |
This handler accepts a sprite reference as a parameter and moves the view of a Flash movie sprite from top to bottom within the sprite's bounding rectangle. |
|
on panDown whichSprite
repeat with i = 120 down to -120
set the viewV of sprite whichSprite = i
updatestage
end repeat
end
|
| Related Lingo: |
viewH property, viewPoint property, viewScale property |
 |
|