
406
moveVertexHandle()
Syntax
moveVertexHandle(member memberRef, vertexIndex, handleIndex, xChange, yChange)
Description
Function; moves the vertex handle of a vector shape cast member to another location.
The horizontal and vertical coordinates for the move are relative to the current position of the
vertex handle. The location of the vertex handle is relative to the vertex point it controls.
Changing the location of a control handle affects the shape in the same way as dragging the vertex
in the editor.
Example
This statement shifts the first control handle of the second vertex point in the vector shape Archie
15 pixels to the right and 5 pixels up:
MoveVertexHandle(member "Archie", 2, 1, 15, -5)
See also
addVertex
,
deleteVertex()
,
originMode
,
vertexList
on moveWindow
Syntax
on moveWindow
statement(s)
end
Description
System message and event handler; contains statements that run when a window is moved, such
as by dragging a movie to a new location on the Stage, and is a good place to put Lingo that you
want executed every time a movie’s window changes location.
Example
This handler displays a message in the Message window when the window a movie is playing
in moves:
on moveWindow
put "Just moved window containing"&&the movieName
end
See also
activeWindow
,
movieName
,
windowList
movie
This property is obsolete. Use
movieName
.
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...