In the "old" alpha edition of Silverlight, you could use the Downloader class to download a zip file containing one or many packed media elements (images, videos). The Downloader provided a progress report (to update a progress bar, for example). After the download was completed, you could use the Image.SetSource or MediaElement.SetSource method to directly unpack one file from the downloaded zip file.
In Silverlight 2 beta, the interfaces changed, but you can still do the same operations. Let's see how.
Download and Demo
- A demo can be seen here.
- The source code is available here.
- Note: To save space, I removed the media zip file from the source code. It is available as a separate download here.