User Guide

422
netStatus
Syntax
netStatus msgString
Description
Command; displays the specified string in the status area of the browser window.
The
netStatus command doesnt work in projectors.
Example
This statement would place the string “This is a test” in the status area of the browser the movie
is running in:
on exitFrame
netStatus "This is a test"
end
netTextResult()
Syntax
netTextResult(netID)
netTextResult()
Description
Function; returns the text obtained by the specified network operation. If no net ID is specified,
netTextResult returns the result of the last network operation.
If the specified network operation was
getNetText(), the text is the text of the file on the network.
If the specified network operation was
postNetText, the result is the servers response.
After the next operation starts, Director discards the results of the previous operation to
conserve memory.
When a movie plays back as an applet, this function returns valid results for the last 10 requests.
When a movie plays back as a Shockwave movie, this function returns valid results for only the
most recent
getNetText() operation.
Example
This handler uses the "netDone and netError" functions to test whether the last network
operation finished successfully. If the operation is finished, text returned by
netTextResult is
displayed in the field cast member Display Text.
global gNetID
on exitFrame
if (netDone(gNetID) = TRUE) and (netError(gNetID) = "OK") then
member("Display Text").text = netTextResult()
end if
end
See also
netDone(), netError(), postNetText