Share via


Updated SilverlightPad - Now with Javascript Editing and Preview

I had this idea about a month ago, but I was too busy prepping for MIX to put it together.  Take SilverlightPad, add a javascript textarea, and a run button.  When the button is clicked, dump the XAML and JS into a new iframe and create a new instance of the Silverlight plug-in to run the code. 

To invoke this, click on the JS tab and then the "parse" button will become a "run" button.  This interface is a bit clunky, but it's servicable for now.  Each scene has a simple script that handles the first element's click event.  The button scene has a more complicated script which triggers animations on mouse events.  As for code editing, there's one limitation in that you need to have a JS class defined named "test".  In a future update I'll add an options pane where the name of the class this can be specified (or omitted). 

This update also uses the mouse cursor feature, so interactive UI parts now change the cursor.  Click the image below to run the sample.  The source for this sample can be found here.

Comments

  • Anonymous
    May 14, 2007
    I had this idea about a month ago, but I was too busy prepping for MIX to put it together. Take SilverlightPad

  • Anonymous
    May 14, 2007
    Silverlight Resources bits & bytes · Get silverlight · Telerik RadControls – 3d virtual rooms using

  • Anonymous
    May 14, 2007
    Many thanks to Asli Bilgin, DE extraordinaire, for pulling this list together. · silverlight · Telerik

  • Anonymous
    May 14, 2007
    Once again, saved by other diligent internal Microsoft folks, a wonderful list of Silverlight resources

  • Anonymous
    May 14, 2007
    Silverlight Resources bits & bytes · Get silverlight · Telerik RadControls – 3d virtual rooms using

  • Anonymous
    May 14, 2007
    Silverlight Resources and Links

  • Anonymous
    May 14, 2007
    Silverlight Resources bits & bytes · Get silverlight · Telerik RadControls – 3d virtual rooms using

  • Anonymous
    May 14, 2007
    bits & bytes · Get silverlight · Telerik RadControls – 3d virtual rooms using control based framework

  • Anonymous
    May 15, 2007
    Silverlight tuntuu kommenteista ja yhteydenotoista päätellen innostavan myös suomalaisia kehittäjiä.

  • Anonymous
    May 15, 2007
    Get Started with Silverlight

  • Anonymous
    May 15, 2007
    Here is a slick list put together by Asli Bilgin (US East Region Developer Evangelist) Silverlight Resources

  • Anonymous
    May 15, 2007
    Silverlight Resources bits & bytes · Get silverlight · Telerik RadControls – 3d virtual rooms using

  • Anonymous
    May 15, 2007
    Asli Bilgin, a Developer Evangelist for Financial Services here in the East Region, put together this

  • Anonymous
    May 15, 2007
    --转载自思归的blog(http://blog.joycode.com/saucer/archive/2007/05/15/102532.aspx)1.如果你真对Silverlight感兴趣的话,...

  • Anonymous
    May 20, 2007
    Another week has shot by. Didn't have any time to look at Silverlight although I have managed to download

  • Anonymous
    May 20, 2007
    Another week has shot by. Didn't have any time to look at Silverlight although I have managed to download

  • Anonymous
    May 20, 2007
    OK!! You asked for more and you got more.... Here's a comprehensive list of most of the resources for

  • Anonymous
    May 22, 2007
    More Silverlight demo's coming up

  • Anonymous
    May 25, 2007
    this is a great tool Mike. All that it needs is the ability to manage the list of XAML files - perhaps letting you save to isolated storage, or load in from a file on the local disk

  • Anonymous
    May 29, 2007
    Nedan några samlade resurser runt Silverlight - mycket nöje! bits & bytes · Installera Silverlight

  • Anonymous
    June 01, 2007
    Hace unos dias tuvimos la presentacion en sociedad de nuestra tecnologia denominada Microsoft Silverlight,

  • Anonymous
    June 04, 2007
    В связи с тем, что появляется все больше и больше вопросов «Где добыть информацию по Silverlight», я

  • Anonymous
    June 11, 2007
    Βρείτε παρακάτω μία λίστα με resources για το Silverlight: Silverlight Resources bits & bytes · Get

  • Anonymous
    June 22, 2007
    Mix 2007 was simply awesome this year. I can't remember an event as exciting as this one except when

  • Anonymous
    December 31, 2007
    This is a list of Silverlight resources I have been compiling. It is in no way definitive but figured

  • Anonymous
    December 31, 2007
    This is a list of Silverlight resources I have been compiling. It is in no way definitive but figured

  • Anonymous
    December 02, 2008
    You have to love a hotel where you have the amazing Lavazza coffee in your hotel room. CLR/Silverlight/Orcas/C# One of the things that has been a bit fustrating over the years with the CLR is the limitation of one CLR per process. Specifically, where