
ADOBE DIRECTOR 11.0
User Guide
468
Retrieve a file as text
1
Use the
getNetText()
method or the
postNetText
method to start retrieving text. For more information about
this method, see the Scripting Reference topics in the Director Help Panel.
2
Use the
netTextResult()
method to return the text you retrieved with
getNetText
or
postNetText
. For
more information about this method, see the Scripting Reference topics in the Director Help Panel.
Retrieve and play a new Shockwave movie from the network
•
Use the
gotoNetMovie()
method. For more information about this method, see the Scripting Reference topics
in the Director Help Panel.
The current movie continues to run until the new movie is ready to play. After the new movie is ready, the player
quits the current movie and plays the new movie in the same display area as the calling movie.
Open a URL in the user’s browser
•
Use the
gotoNetPage()
method. This method works whether the URL refers to Shockwave content, HTML, or
another MIME type. For more information about this method, see the Scripting Reference topics in the Director
Help Panel.
You can specify that this method replaces a page’s content or opens a new page. If the browser is not open, the method
launches the browser. If the
gotoNetPage
method replaces the page in which the movie is playing, the movie
continues to play until the browser replaces the page.
The
gotoNetPage
method is similar to the Director
open
method. It does not return a value.
Preload a file from the server into the browser’s cache
•
Use the
preloadNetThing()
method. For more information about this method, see the Scripting Reference
topics in the Director Help Panel.
The
preloadNetThing()
method initiates downloading a linked movie asset into the cache, where it is available for
later use. Director can later preload the asset into memory without a download delay.
The current movie continues to play while preloading occurs.
Test whether getNetText(), preloadNetThing, or gotoNetMovie operations are complete
•
Use the
netDone()
method.
•
Use the
getStreamStatus()
method.
For more information about these methods, see the Scripting Reference topics in the Director Help Panel.
Post information using HTTP post/get abilities to a server and retrieve a response
•
Use the
getNetText()
or
postNetText()
methods. You can use either method to post data to a server, but
HTTP
"
get
"
commands can post only a limited amount of information compared with HTTP
"
post
"
operations.
If you are posting a great deal of information, the
postNetText()
method is recommended.
For more information about these methods, see the Scripting Reference topics in the Director Help Panel.
Содержание 65036570 - Director - PC
Страница 1: ...i ADOBE DIRECTOR 11 USER GUIDE...