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
  • PrintPrint
Share this Page URL
Help

Chapter 5. Development Model > The Silverlight Downloader

5.13. The Silverlight Downloader

Silverlight supports a special type of object that performs asynchronous downloading of content. This object is the Silverlight Downloader. This works similarly to XmlHttpRequest APIs, with which you may be familiar. Before you can use the downloader to make a request, you must create it with the Silverlight host object like so:

function root_Loaded(sender, args) {
  var host = sender.getHost();
  var downloader = host.createObject("downloader");
  ... // do something with the downloader
}


  

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