• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Lesson 27. Using Lingo on the Web > Using netDone and getNetText to Display the...

Using netDone and getNetText to Display the Downloaded Text

Once your movie starts a network operation such as the getNetText download, a whole range of factors beyond your movie's control come into play: the availability of a network connection, response time on the Internet, and so on. In addition, the download is taking place behind the scenes and out of sight: the text is being loaded into your movie's memory. Your movie needs a way to determine when the download finishes so it can display the text.

One complication is that on another user's computer, your Web movie might be only one of several applications vying for network attention. For example, a user might also be running an e-mail program that periodically sends a query to a network mail server to see if new mail has arrived. The computer's operating system manages these operations by assigning each one a unique numeric ID. Your scripts can use the numeric ID of the network operation that started when the getNetText command was issued.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint