Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


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

Chapter 15. HTTP Requests and External C... > URL Navigation with HTTP Requests

URL Navigation with HTTP Requests

Most applications for the Flash platform make some kind of HTTP request. An HTTP request may involve specifying a URL to navigate to or communicate with, and variables that may be passed using GET or POST methods. The most common HTTP request in Flash applications is navigating to a URL. This is done using the URLRequest class and the navigateToURL() function.

Making an HTTP request

The URLRequest class handles all communication involved in making an HTTP request. The URLRequest class used by other class methods of the ActionScript API requires an HTTP request, such as the navigateToURL and Loader classes.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial