Wednesday, 1 August 2007

Silverlight 1.0 RC - bug fixed!

Yes, RC1 of Silverlight 1.0 has been released (in case you missed the announcements).

Thankfully the breaking changes haven't really affected the stuff I've been playing with - it's been a fairly painless change to swap in the updated Silverlight.js file and tweak the createSilverlight() function (Sys.* has been removed - shouldn't clash with ASP.NET AJAX now):
Silverlight.createObjectEx({
source: 'Scene.xaml',
parentElement: document.getElementById("SilverlightControlHost"),
id:'SilverlightControl',
properties:{
width:'100%',
height:'100%',
framerate:'24',
enableFramerateCounter:false,
version:'1.0'},
events:{
onError:null, onLoad:null, onResize:null
},
context:null
});
What's even better is that it fixes the bug on this 400-element animation. The beta used to just 'freeze' about two-thirds of the way through the animation: all the dots stopped moving until the timeline 'finished', then they'd all disappear (jump straight to end). Now it works seemlessly - time to try it with more animated objects!

No comments:

Post a Comment

Note: only a member of this blog may post a comment.