MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 238

Director scripting reference
Table of Contents

Advertisement

When using the final two optional parameters, you can specify the location of the control handles
for the vertex. The control handle location is offset relative to the vertex, so if no location is
specified, it will be located at 0 horizontal offset and 0 vertical offset.
Parameters
Required. An integer that specifies the index at which the member is added.
indexToAddAt
pointToAddVertex
horizControlLocH
the horizontal control handle.
horizControlLocV
horizontal control handle.
vertControlLocH
the vertical control handle.
vertControlLocV
vertical control handle.
Example
This line adds a vertex point in the vector shape Archie between the two existing vertex points, at
the position 25 horizontal and 15 vertical:
-- Lingo syntax
member("Archie").addVertex(2, point(25, 15))
// JavaScript syntax
member("Archie").addVertex(2, point(25, 15));
See also
vertexList, moveVertex(), deleteVertex(),
alert()
Usage
-- Lingo syntax
_player.alert(displayString)
// JavaScript syntax
_player.alert(displayString);
Description
Player method; causes a system beep and displays an alert dialog box containing a specified string.
The alert message must be a string. If you want to include a number variable in an alert, convert
the variable to a string before passing it to
Parameters
displayString
string can contain up to 255 characters.
238
Chapter 12: Methods
Required. A point that specifies the position at which the member is added.
Optional. An integer that specifies the location of the horizontal portion of
Optional. An integer that specifies the location of the vertical portion of the
Optional. An integer that specifies the location of the horizontal portion of
Optional. An integer that specifies the location of the vertical portion of the
Required. A string that represents the text displayed in the alert dialog box. The
originMode
.
alert()

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx 2004

Table of Contents