MyComix Updated for Silverlight 1.0 Release Candidate

It’s been a while since I posted to the blog because I’ve been traveling–some for business, some for pleasure. I had a relaxing vacation in Hawaii with my wife and kids followed by a trip to Atlanta for Wintellect’s annual company retreat and am now back in the saddle digesting the latest updates to Silverlight and Visual Studio 2008 (“Orcas”).

I just finished updating the Silverlight viewer for MyComix to use the Silverlight 1.0 RC plug-in. The changes were pretty minor. I basically just replaced Silverlight.js with the newer version, changed Sys.Silverlight.createObject to Silverlight.createObject, changed the version number passed to createObject from 0.9 to 1.0, and removed the third parameter from calls to the downloader object’s open method. (That method, which formerly used the third parameter to indicate whether downloads should be synchronous or asynchronous, now accepts just two parameters. Downloads are now asynchronous by default and synchronous downloads are no longer supported.)

As usual, you can check out the viewer by going to the MyComix Web site, making sure you’re in thumbnail view, and clicking a comic book cover. Use the mousewheel to zoom in and out, and drag the cursor over the comic book cover with the left button depressed to rotate the comic and see the back cover. Move the cursor to the top of the window to display an informational panel with data about the comic.

I’ve also updated the zip file containing the MyComix source code. Click here to download the latest source. The Silverlight stuff is in the files named Spotlight.aspx and Spotlight.xaml.

UPDATE: Today (Aug. 1) I modified the source code. I was registering transient event handlers for the downloader objects used to download cover images but failing to unregister them, opening the possibility of resource leaks in the browser. The modified source complements each call to addEventListener with a call to removeEventListener. The new source has been posted for download.

 

Stay Informed

Sign up for the latest blogs, events, and insights.

We deliver solutions that accelerate the value of Azure.
Ready to experience the full power of Microsoft Azure?

Atmosera is thrilled to announce that we have been named GitHub AI Partner of the Year.

X