Microsoft Silverlight: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Paul Nikolas Phoa
imported>Paul Nikolas Phoa
Line 31: Line 31:
Creating an animation in Silverlight is different from flash. The first step to animate an object in Silverlight is to create a '''Storyboard'''. '''Storyboard''' is an object in Silverlight which controls animations with a timeline. It is equipped with interactive methods to start, stop, pause and resume an animation. There are several type of animations in Silverlight. '''DoubleAnimation''', '''ColorAnimation''', and '''PointAnimation''' are the basic type of animations.
Creating an animation in Silverlight is different from flash. The first step to animate an object in Silverlight is to create a '''Storyboard'''. '''Storyboard''' is an object in Silverlight which controls animations with a timeline. It is equipped with interactive methods to start, stop, pause and resume an animation. There are several type of animations in Silverlight. '''DoubleAnimation''', '''ColorAnimation''', and '''PointAnimation''' are the basic type of animations.


== DoubleAnimation ==
'''DoubleAnimation'''
'''DoubleAnimation''' animates the value of a double property between two target values using linear interpolation over a specified duration. An example of '''DoubleAnimation''' is the type of animation which makes use of the opacity property of the object, since opacity property is of type double.  
'''DoubleAnimation''' animates the value of a double property between two target values using linear interpolation over a specified duration. An example of '''DoubleAnimation''' is the type of animation which makes use of the opacity property of the object, since opacity property is of type double.
 


== ColorAnimation ==
== ColorAnimation ==

Revision as of 16:29, 8 August 2008

This article is developing and not approved.
Main Article
Discussion
Related Articles  [?]
Bibliography  [?]
External Links  [?]
Citable Version  [?]
 
This editable Main Article is under development and subject to a disclaimer.
Nuvola apps kbounce green.png
Nuvola apps kbounce green.png
This article is currently being developed as part of an Eduzendium student project. The project's homepage is at CZ:CIS 700 Special Topics 2008. One of the goals of the course is to provide students with insider experience in collaborative educational projects, and so you are warmly invited to join in here, or to leave comments on the discussion page. However, please refrain from removing this notice.
Besides, many other Eduzendium articles welcome your collaboration!



Microsoft Silverlight, previously known as Windows Presentation Foundation/Everywhere, is Microsoft's flagship cross-platform, cross-browser web client runtime for developing rich interactive applications such as graphics, animations and video playback. Silverlight extends the web development technique beyond the limitations of traditional HTML or JavaScript.

Development

Overview

Silverlight aims to compete with Adobe Flash and the presentation components of AJAX. It also competes with Sun MicrosystemsJavaFX, which was launched a few days after Silverlight.[1] By Microsoft's description[2], Silverlight has these features:

  1. Compelling Cross-Platform User Experiences
  2. Flexible programming model with collaborative tools
  3. Efficient, lower-cost delivery, and more capable media solution
  4. Connected to Web, servers, and services

Silverlight 1.0

Silverlight 1.1

Silverlight 2.0

Technical Perspective

Why Silverlight Is Important?

Silverlight will be the platform of choice for developers who build rich Internet applications. It makes Flash/Flex look like an absolute toy. [3]

Features

The CLR

Multimedia

Services

Mobile

Examples

How to make an animation using Silverlight?

Creating an animation in Silverlight is different from flash. The first step to animate an object in Silverlight is to create a Storyboard. Storyboard is an object in Silverlight which controls animations with a timeline. It is equipped with interactive methods to start, stop, pause and resume an animation. There are several type of animations in Silverlight. DoubleAnimation, ColorAnimation, and PointAnimation are the basic type of animations.

DoubleAnimation DoubleAnimation animates the value of a double property between two target values using linear interpolation over a specified duration. An example of DoubleAnimation is the type of animation which makes use of the opacity property of the object, since opacity property is of type double.

ColorAnimation

ColorAnimation animates the value of a color property between two target values using linear interpolation over a specified duration. This type of animation is used to animate the colors of its objects.


PointAnimation

PointAnimation animates the value of a point property between two target values using linear interpolation over a specified duration. An animation that moves objects or enlarges objects is the type of animation which falls into PointAnimation category.

The more advance types of animations in Silverlight incorporate a set of KeyFrames. DoubleAnimationUsingKeyFrames, ColorAnimationUsingKeyFrames, PointAnimationUsingKeyFrames, and ObjectAnimationUsingKeyFrames are the advance types of animations. Each of these types of animations animate the value of its object property (such as double, point, color, and object) along a set of KeyFrames over a specified duration.

How to put Silverlight into a web page?

Market

Why and Where to use Silverlight?

Market Share

Allies and Competitors

The relationship of Silveright to other applications

Competitors

Future Developments

Reference