Microsoft will launch the new features of Silverlight 3.

Source: Internet
Author: User

In July 10, Microsoft will launch the Silverlight 3 and expression studio3 design platforms. Before the new version is released, let's take a look at the new features of Silverlight 3.

Video/audio

Silverlight supports H.264 video formats in addition to VC-1. This is an emerging industry standard format used by YouTube and has hard decoding on many devices. Silverlight also supports AAC audio. Both are implemented in MP4 container format (for example,. MP4 or. m4a files ).

In addition, f4v and Adobe HD formats are also supported. Unfortunately, Silverlight does not support camera in version 3.0. It is said that the next version will be added. You still need to wait for one year.

GPU Acceleration

This is the feature of opt-in Silverlight 3 runtime. In-browser and out-of-browser can both be used. Add the enablegpuacceleration = true parameter to the Silverlight tag in HTML to enable GPU acceleration.

3D support

Silverlight 3 has perspective 3D. For a parent element, you use a projection attached property, such:

<Border. Projection>
<Planeprojection X: Name = "P3" rotationy = "-30"/>
</Border. Projection>

This perspective 3D only converts a plane object into a physical object instead of a real 3D rendering engine. However, 3D engines such as pv3d in Flash are not displayed in Silverlight.

 

Animation easingAdded a lot of easing functions, similar to the tween in flash.

Custom dialogs

Silvelright 3 now supports savefiledialog. For security reasons, we do not return the path to the developer. Instead, you can open the file from the result:

Mysavefiledialog. Show ();
If (mysavefiledialog = true)
Return mysavefiledialog. openfile ();

There are some new updates for uploading and downloading flashplayer10. In addition, I think you can add files that are not allowed to be modified.

Effects

The effects introduced in Silverlight 3 provides low-level means to affect visual effects. We provide two built-in effects: Shadow and blur. You can also create your own effects. The custom effect is implemented by HLSL shaders-compiled into byte code by using DirectX SDK for Silverlight 3. Shaders allows developers to modify each pixel before rendering the UI element.

If Silverlight also supports bitmapdata, the addition of effects will greatly improve its plotting function.

Pixel and media APIs

You can now read/write pixels from Bitmap. This function can be used in two ways: in-memory bitmap or save the visual in-place image. It also supports raw audio/video APIs for dynamic sound generation, custom video codec, or alpha video channels.

In-memory bitmap or save the visual in-place graph. This is a new function added by Microsoft to learn the Flash Player bitmap method. The efficiency problem has not been tested yet.
In addition, dynamic sound generation is also added to the new version of flashplayer 10.

Local messaging

Passing messages between multiple Silverlight plug-ins was a challenge. Now we support messages similar to "named pipes", not only the objects on the same web page, but also multiple Silverlight instances across multiple browsers. For example, Silverlight in a chrome instance communicates with another instance in Firefox.

Localconnection is used in flash. In addition, localconnection in Flash also has the special effect of garbage collection, which Microsoft does not seem to have added :).

Out of Browser

Use a manifestProgramEnable (This section is included in the standard Silverlight 3 Template and you only need to uncomment it ). A user can right-click the Silverlight content or click a button in the application to start the Silverlight out-of-browser application.

This feature allows you to deploy Web applications locally and increase your dependency on the current web application. I don't know if adobe will add it. In fact, it is to associate its SWF file with the air file and publish two files at the same time, then you can deploy these two files to the server side at the same time. similar to the View Source function in flex.

Tooling

The Silverlight 3 tool will contain new compressionAlgorithm, The xap file size will be reduced by 10 ~ 30%.

Http://www.slfans.com /? Action-viewnews-itemid-16069
Silver Powder-Silverlight enthusiast http://www.slfans.com/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.