Archive for February, 2008

February 29th, 2008

Silverlight Streaming Service is brilliant!

I’m using an iframe above to display the Silverlight. I got the code from Tim Sneath’s Blog

This is using the new beta service Silverlight Streaming by Windows Live. It offers a free streaming and application hosting solution for delivering high-quality, cross-platform, cross-browser, media-enabled rich interactive applications (RIAs). With the ability to author content in Microsoft Expression Encoder and other third-party editing environments, Web designers maintain complete control of the user experience.

I think this is a brilliant idea. Microsoft has money, bandwidth, and servers. They can “afford” to host Silverlight apps for free because by doing so developers will create new, more engaging experiences using Silverlight. These Silverlight apps will get cooler as more people use them. The cool apps will be posted on blogs all over using the techniques highlighted below. Users hit the blog, see an “Install Silverlight” banner, they click it and boom, Silverlight market penetration. This service keeps the hosting costs down for devs while letting them explore Silverlight and help distribute the plugin to new users.

February 25th, 2008

Trying out Code Posting on blogger.

I’ve been doing a little searching for on the best way to post code snippets on Blogger because it’s kind of a pain in the ***. Blogger strips out all the brackets and doesn’t display them, even inside pre tags. Kinda annoying, and I wish Blogger would fix that. My searching, however, yielded some results. I found this gPowered: By the Power of Google…: HOWTO: post code. I installed all the files and now I’m going to give it a go. See how things work.

here goes:


ActionScript2.0 (using Javascript Brush)

Does it work? We will see.

February 25th, 2008

Silverlight 1.0 – Beyond Rich Media Playback

I’ve been working hard the past few weeks on a Silverlight Rich Media Expandable Ad project at PBJS. The task at hand was to really push the Silverlight 1.0 plug-in to do things it wasn’t really designed to do. The project was generally a success. What I’m planning on doing is putting up some code snippets that I used to create this project to hopefully shed some light on Silverlight 1.0 for anyone that is interested in learning it.

The project pays homage to the Justice D.A.N.C.E. Video but adds an interactive element where you can influence the animations on the shirts.

For now, please check out the project.Please leave comments about any questions you might have.

I’m also going to try to see if I can get everything working live on this page, just curious at how well the Silverlight 1.0 plug-in will work inside blogger.

update: didn’t work so well. so please view the project here.

With Silverlight 2.0 coming out soon, I’m very interested in making use of some of the features that were lacking in the 1.0 release, namely Rich UI Controls, Alpha Channel support in video, and a more robust graphical rendering engine. This project did push me into learning more about XAML and how to manipulate it using JavaScript.

XAML is pretty slick. The biggest drawback that I’ve seen so far is it’s a little verbose for markup. In many cases, characters could be left out and it would cut down significatly on the file size of the XAML. It also requires all data to be a string, which isn’t very efficient in my option. In many cases, I had to convert values to and from integers and strings because I couldn’t use integers as values for attributes like Canvas.Left and Opacity. That struck me as a little odd, but I digress.

The other thing is every time you enter a value for a color, XAML adds the Alpha value as well. In my opinion, the default should be full Opacity every time unless otherwise stated. So #ff0000 for Red rather than #ffff0000, which is two extra characters for every color. There is probably a good reason for this, but I don’t know why.

The Code Trip is kicking off after Mix08. I’m really anxious to see what kind of apps the guys come up with. I think Silverlight does have a valuable place on the web, and I hope to see more cool implementations in the near future using the new 2.0 features. For now I’ve been reading Scott Guthrie’s blog which has a preview of Silverlight 2.0. There will be a lot of Silverlight hype in the coming months, I’m looking forward to the dust settling and taking a calm look at the aftermath and enjoying some full featured Silverlight Apps.