MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 293

Director scripting reference
Table of Contents

Advertisement

deleteVertex()
Usage
-- Lingo syntax
memberObjRef.deleteVertex(indexToRemove)
// JavaScript syntax
memberObjRef.deleteVertex(indexToRemove);
Description
Vector shape command; removes an existing vertex of a vector shape cast member in the index
position specified.
Parameters
indexToRemove
Example
This line removes the second vertex point in the vector shape Archie:
-- Lingo syntax
member("Archie").deleteVertex(2)
// JavaScript syntax
member("Archie").deleteVertex(2);
See also
addVertex(), moveVertex(), originMode,
displayOpen()
Usage
-- Lingo syntax
fileioObjRef.displayOpen()
// JavaScript syntax
fileioObjRef.displayOpen();
Description
Fileio method; Displays an Open dialog box.
This method returns to script the full path and name of the selected file.
Parameters
None.
See also
Fileio
Required. An integer that specifies the index position of the vertex to delete.
vertexList
displayOpen()
293

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Director mx 2004

Table of Contents