Category Archives: z Silverlight Archives

Tip of the Day Goes Live Jan 2, 2008

As you may have noticed, I've been experimenting with writing a Tip of the Day for Silverlight over the past few weeks (until I broke my glenoid and spent a few humerus days in the hospital). I would now like … Continue reading →

Posted in z Silverlight Archives | Comments Off on Tip of the Day Goes Live Jan 2, 2008

Did You Know That… there’s a new way to create Silverlight 1.0 projects in Visual Studio 2008?

Tim Heuer points out, in his always valuable blog, that there's a new way to create Silverlight 1.0 applications in Visual Studio 2008. Your first step, as Tim points out, is to install the Silverlight Tools for Visual Studio 2008.  … Continue reading →

Posted in z Silverlight Archives | Comments Off on Did You Know That… there’s a new way to create Silverlight 1.0 projects in Visual Studio 2008?

Did You Know That… the second way to pass information to your Silverlight control is through the seventh (context) parameter

In the previous Tip of the Day, we looked at the sixth parameter to createSilverlight/ createSilverlightEx which allowed you to pass in a string as the initParams parameter. You can also pass in a seventh parameter of type object, which … Continue reading →

Posted in z Silverlight Archives | Comments Off on Did You Know That… the second way to pass information to your Silverlight control is through the seventh (context) parameter

Did You Know… There are two ways to pass data to your Silverlight 1.0 control on creation

CreateSilverlight() and its wrapper, CreateSilverlightEx() both take an optional sixth and seventh parameter. The sixth, initParam takes a string parameter that you can easily fetch in your javascript code; it becomes an attribute of the Silverlight control (plugin) itself. For … Continue reading →

Posted in z Silverlight Archives | Comments Off on Did You Know… There are two ways to pass data to your Silverlight 1.0 control on creation

Did You Know That… you must set isWindowless to true to use HTML overlays?

One of the parameters you pass in when creating a Silverlight object is the parameter isWindowless. That parameter defaults to false. Normally, you do want isWindowlessto be set to false, because when it is set to true, you pay a … Continue reading →

Posted in z Silverlight Archives | Comments Off on Did You Know That… you must set isWindowless to true to use HTML overlays?

Did You Know That… Microsoft Expression Encoder is available for 180 day free trial?

Microsoft is currently offering Microsoft Expression Encoder for a free 180 day trial complete with support for Silverlight as described in previous Tips of the Day hand, as shown in various Learning Videos. To download your free copy, go to … Continue reading →

Posted in z Silverlight Archives | Comments Off on Did You Know That… Microsoft Expression Encoder is available for 180 day free trial?

Did You Know That… createObjectEx is really just a wrapper around createObject?

As Adam Nathan points out In Silverlight 1.0 Unleashed, Silverlight.createObjectEx is implemented as a function that takes an array as an argument and calls Silverlight.createObject, passing each element of the array in turn. The reason that many Silverlight programmers prefer … Continue reading →

Posted in z Silverlight Archives | Tagged | Comments Off on Did You Know That… createObjectEx is really just a wrapper around createObject?

Did You Know That… Microsoft Expression Encoder will not only encode your movie but create a player for you

If you drag a movie into Microsoft expression encoder, not only can you add the movie and set metadata and otherwise manipulate the media, but you can also choose a template for the output that includes a Silverlight player that … Continue reading →

Posted in z Silverlight Archives | Comments Off on Did You Know That… Microsoft Expression Encoder will not only encode your movie but create a player for you

Did You Know That… for full JavaScript debugging you must uncheck “disable script debugging”

Whether or not you set on error handler, be sure to open up Internet Explorer's options panel and uncheck Disable Script Debugging in the Advanced tab, to enable full debugging of your JavaScript with Visual Studio 2008.

Posted in z Silverlight Archives | Tagged | Comments Off on Did You Know That… for full JavaScript debugging you must uncheck “disable script debugging”

Did You Know… (#1) if you fall on black ice you can dislocate your shoulder?

This morning I awoke at my normal hour, stepped out onto my driveway slid 15 feet and instantly realized that I had but three choices: Continue sliding until I slid down the steep part of my driveway some 200 feet … Continue reading →

Posted in z Silverlight Archives | Comments Off on Did You Know… (#1) if you fall on black ice you can dislocate your shoulder?

Did You Know… (2) you can easily re-format your code and XAML in Visual Studio

You might begin by opening the tools menu and selecting options followed by text editor. For each language, especially JavaScript and HTML and C# pay special attention to "new lines", the format choice (including insert attribute value quotes when typing), … Continue reading →

Posted in z Silverlight Archives | Tagged , | Comments Off on Did You Know… (2) you can easily re-format your code and XAML in Visual Studio

Did You Know… That You Can Create A Timer Using XAML Animation?

To do so, create a Storyboard and mark that you will handle the Completed event. <Storyboard Completed="OnTimerCompleted"> Put in the simplest Animation you can manage (name it, so that you can set the duration programmatically). <DoubleAnimation x:Name="TimerDuration" make sure you … Continue reading →

Posted in z Silverlight Archives | Tagged | Comments Off on Did You Know… That You Can Create A Timer Using XAML Animation?