Download Wiley Silverlight 1.0
Transcript
28401ftoc.qxd:WroxPro 9/12/07 9:36 PM Page xii Contents Chapter 3: Designing Silverlight Applications Using Expression Blend 2 Getting the Latest Blend 2 Preview Creating a New Silverlight Project 60 60 The Silverlight Project Starter Template Blend Workspace Overview Layout and Design in Blend 61 62 74 Creating and Understanding Timelines 79 Understanding Storyboards in Silverlight Creating a Timeline 80 80 Working with Artwork Created Outside of Blend Designing with Blend/Silverlight in Mind Exporting to XAML in Other Tools Summary Chapter 4: Coding Silverlight Applications with JavaScript and XAML The JavaScript Programming Model Creating the Player Using JavaScript 84 84 86 89 91 92 92 Refactoring the Silverlight Player Creation 95 Dissecting the Silverlight.js Helper Library 96 createObject and createObjectEx isInstalled Accessing the Silverlight Player Object Accessing XAML Content Locating XAML Content Elements Getting and Setting XAML Properties Instantiating and Inserting XAML Elements Examining Events in Silverlight Player Events XAML Element Events Accessing Storyboards Programmatically Using the Downloader Object Downloading Packages Downloading Fonts Using JavaScript and the MediaElement Using DownloadProgressChanged and BufferingProgressChanged Events Working with Markers Summary xii 59 96 103 104 105 105 106 108 113 113 115 125 128 131 133 134 136 137 138