User Guide

493
Example
This statement prevents the model Monster from returning to its original position when it
finishes the execution of a motion:
member("NewAlien").model("Monster").keyframePlayer.\
positionReset = FALSE
See also
currentLoopState
posterFrame
Syntax
member(whichFlashMember).posterFrame
the posterFrame of member whichFlashMember
Description
Flash cast member property; controls which frame of a Flash movie cast member is used for its
thumbnail image. This property specifies an integer corresponding to a frame number in the
Flash movie.
This property can be tested and set. The default value is 1.
Example
This handler accepts a reference to a Flash movie cast member and a frame number as parameters,
and it then sets the thumbnail of the specified movie to the specified frame number:
on resetThumbnail whichFlashMovie, whichFrame
member(whichFlashMovie).posterFrame = whichFrame
end
postNetText
Syntax
postNetText(url, propertyList {,serverOSString} {,serverCharSetString})
postNetText(url, postText {,serverOSString} {,serverCharSetString})
Description
Command; sends a POST request to url, which is an HTTP URL, with postText as the data.
This command is similar to
getNetText(). As with getNetText(), the server’s response is
returned by
netTextResult(netID) once netDone(netID) becomes 1, and if
netError(netID) is 0, or okay.
When a property list is used instead of a string, the information is sent in the same way a browser
posts an HTML form, with
METHOD=POST. This facilitates the construction and posting of form
data within a Director title. Property names correspond to HTML form field names and property
values to field values.
The property list can use either strings or symbols as the property names. If a symbol is used, it is
automatically converted to a string without the # at the beginning. Similarly, a numeric value is
converted to a string when used as the value of a property.
Note: If a program uses the alternate form—a string instead of property list—the string postText is sent to the server
as an HTTP POST request using MIME type “text/plain.” This will be convenient for some applications, but is not
compatible with HTML forms posting.