Monday, June 8, 2009

SILVERLIGHT.JS LIBRARY

  • Silverlight.js library is a set of Javascript functions that provide interaction between unmanaged Javascript, the Silverlight plug in and Silverlight application.
  • It is a helper file which enables web sites to create advanced Silverlight installation and installation experiences.
  • It exposes function that helps to implement Silverlight application in web pages using Javascript.
  • This library allows to create a Silverlight object in the DOM, Load Silverlight applications into the object, and then handle load events.

SAMPLE CODE RESOUECE

RESOURCE

Resources can be used to:
  • Create non-visual objects.
  • Resuse objects.
  • Centralize details.

RESOURCE DICTIONARY

  • A resource dictionary can store any object.
  • You can loop through all the items.
  • Each item stored must have a unique key.
  • You can access the items using the Key or using their Index.

Sunday, June 7, 2009

LIFE CYCLE OF SILVERLIGHT

  • The user request the HTML entry page in the browser.
  • The Silverlight plug in is loaded.It downloads the XAP file with your application.
  • The Silverlight plug in reads the AppManifest.xml file from the XAP to find out what assemblies your application uses.It creates the Silverlight runtime environment and then loads your application assembly into it.
  • The Silverlight plug in creates an instance of your custom application class.
  • The default constructor of the application class raises the Startup event.
  • Your application handles the startup event and creates the Startup page.

ABOUT PANELS IN ENCODER

There are four main panels:
1.Panel-Display the video being encoded.
2.Timeline Panel-Displays the video's Timeline and various controls.
3.Media Conent Panel-Display the control you imported in the application as well as the logs.
4.Encode/Enhance/Metadata/Output panel-You can set up the way the video will be encoded.

EXPRESSION ENCODER

  • Expression encoder encodes and publishes video.
  • To encode video files,It is not a video editor though it has some video editing capabilities.
  • It is not a Silverlight application editor,though it can produce a Silverlight content.