MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 465

Director scripting reference
Table of Contents

Advertisement

Example
This statement omits the
netID = postNetText("www.mydomain.com\database.cgi", "Bill Jones", "Win")
This example generates a form from user-entry fields for first and last name, along with a Score.
Both
serverOSString
lastName = member("Last Name").text
firstName = member("First Name").text
totalScore = member("Current Score").text
infoList = ["FName":firstName, "LName":lastName, "Score":totalScore]
netID = postNetText("www.mydomain.com\userbase.cgi", infoList)
See also
getNetText(), netTextResult(), netDone(),
power()
Usage
power(base, exponent)
Description
Math function; calculates the value of a specified number to a specified exponent.
Parameters
Required. Specifies the base number.
base
Required. Specifies the exponent value.
exponent
Example
This statement sets the variable
set vResult = power(4,3)
preLoad() (Member)
Usage
-- Lingo syntax
memberObjRef.preLoad({toMemberObjRef})
// JavaScript syntax
memberObjRef.preLoad({toMemberObjRef});
Description
Member method; preloads a cast member or a range of cast members into memory, and stops
preloading when memory is full or when all specified cast members have been preloaded.
When used without the
from the current frame to the last frame of a movie.
Parameters
toMemberObjRef
loaded into memory. The first cast member in the range is specified by
serverCharSetString
and
serverCharSetString
vResult
toMemberObjRef
Optional. A reference to the last cast member in a range of cast members that is
parameter:
have been omitted:
netError()
to the value of 4 to the third power:
parameter,
preLoad()
preloads all cast members used
.
memberObjRef
preLoad() (Member)
465

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