Controlling Silverlight outside of the plugin - the .Content property

Posted on January 31, 2008
Filed Under 1.0 Javascript, Uncategorized | Leave a Comment

This one is pretty basic but it is useful and the info doesn’t seem to be easily accessible so I decided to post a quick example. You can use the content property of the plugin to gain access to elements in your XAML.

So say you want to have a link or button on your page control some aspect of your Silverlight App, like load a new Video into a MediaElement, you could do something like this:

function loadVideo(wmv_file) {    

   var videoRef
   var controlRef
   controlRef=document.getElementById("SilverlightControl")
   videoRef=controlRef.content.findName("videoElement")
   videoRef.source=wmv_file 

}

and then in you could just call the loadVideo function within an onclick, onmousdown, or in the href like so:

a href="javascript:loadVideo('my_video.wmv')" mce_href="javascript:loadVideo('my_video.wmv')"

Microsoft Surface Animation - The making of “Infinite Possibilities”

Posted on November 21, 2007
Filed Under Animation, Team Members, Uncategorized | 2 Comments


We thought we’d give a glimpse behind the scenes of the making of the Surface video. The video serves as a showcase piece for the Silverlight video players we post and this spot introduces you to the gurus who create the magic.

Client: Internal
Title:  “Infinite Possibilities”
Artists:
Aaron Mustamaa
    Concept / Storyboarding / Direction / Compositing / SFX
John Einselen
    3D Environment Animation Pipeline / Matte Painting / Compositing
Anthony Denha
    Additional Animation / Production Assistance
Victor Fohrme
    3D Character Animation Pipeline

Creative Direction:  “It’s all about placement.”

We knew ahead of time that the virtual environment we chose to create for Infinite Possibilities would have to fully acknowledge the places where the Microsoft Surface would be positioned in the real world.  Since the Surface computer is all about the next generation of a user’s interaction with the environment, we began by researching the Surface computer’s interaction in culture.    From our observations, the places where you might see an actual surface computer in action tended to be bars, restaurants, hotel lobbies, casinos, and the like, which are all places that are usually very loud and chaotic.  When it came time to choosing an environment, we decided to produce a concept that would be a departure from the chaotic nightlife and entertainment realm, into a pure organic environment: one that was quiet, serene, and even Zen.   We felt this would provide a foil to the typical user experience, and expand the possibilities of the Surface’s commercial placement and application development.   The simple water ripple application that comes installed on the surface computer led us to the idea of a waterfall, then the natural environment, and finally, to the overall narrative and direction.  It was kind of like reverse-engineering.   Ironically, somewhere along in production, we realized that the Surface’s logo happened to contain the infinity symbol, so we used this concept to develop the title, Infinite Possibilities, as well as the final logo animation.  In the end, our creative goal was to visually demonstrate that this is only the beginning of the Surface’s infinite possibilities and power.
Aaron Mustamaa
Motion Graphics Designer, Vectorform

Breakout - Silverlight Style

Posted on November 8, 2007
Filed Under 1.1 Alpha, Games, Uncategorized | 1 Comment

A full breakout clone with source. The demo features 9 levels loaded from embedded XML. There is also an “attract” mode which makes for a nice screen saver.

We also wrote a level editor in WPF because it was so similar to Silverlight. The editor can be released upon request.

Silverlight 1.1 - C#

Example, Source

Recently


Categories


Archives