Retrieving Network Operation Results With Lingo Or Javascript Syntax - MACROMEDIA DIRECTOR MX 2004-USING DIRECTOR Use Manual

Hide thumbs Also See for DIRECTOR MX 2004-USING DIRECTOR:
Table of Contents

Advertisement

The
gotoNetPage
To preload a file from the server into the browser's cache:
Use the
preloadNetThing()
Scripting Reference topics in the Director Help Panel.
The
preloadNetThing()
where it is available for later use. Director can later preload the asset into memory without a
download delay.
The current movie continues playing while preloading occurs.
To test whether getNetText(), preloadNetThing, or gotoNetMovie operations are complete:
Use the
netDone()
Use the
getStreamStatus()
For more information about these methods, see the Scripting Reference topics in the Director
Help Panel.
To post information using HTTP post/get abilities to a server and retrieve a response:
Use the
getNetText()
a server, but HTTP
compared with HTTP
postNetText()
For more information about these methods, see the Scripting Reference topics in the Director
Help Panel.
Retrieving network operation results with Lingo or JavaScript
syntax
Lingo or JavaScript syntax can retrieve network operation results, such as a text result, a unique
identifier for a network operation, a file's MIME type, and the date an HTTP item was last
modified.
To retrieve the text result of a network operation:
Use the
netTextResult()
Scripting Reference topics in the Director Help Panel.
To retrieve the "date last modified" string from the HTTP header for a specific item:
Use the
netLastModDate()
Scripting Reference topics in the Director Help Panel.
To obtain the MIME type of the HTTP item:
Use the
netMIME()
Reference topics in the Director Help Panel.
The results of the
netLastModDate()
476
Chapter 24: Using Shockwave Player
method is similar to the Director
method. For more information about this method, see the
method initiates downloading a linked movie asset into the cache,
method.
method.
or
postNetText()
commands can only post a limited amount of information
"get"
operations. If you are posting a great deal of information, the
"post"
method is recommended.
method. For more information about this method, see the
method. For more information about this method, see the
method. For more information about this method, see the Scripting
,
netTextResult()
netDone()
methods are retained until normal memory clean-up is needed.
method. It does not return a value.
open
methods. You can use either method to post data to
,
,
netError()
netMIME()
, and

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-USING DIRECTOR 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