Friday, November 11, 2016

Thursday, May 24, 2007

Key Toy, my first Silverlight thingy

Here it is!
My first Silverlight production.
It's not much, but it's a start.
It let's you enter text from the keyboard and display it in a TextBlock.

Check it out here: Key Toy

Here's a zip-file containing it all.

Wednesday, May 9, 2007

Silverlight hack: Change xaml file extension to xml to work on any server

Yesterday I had trouble getting silverlight apps to work on a webserver. I tried changing the .xaml file extension to .xml and everything worked like a charm!
See here:
http://jari.imagesinmymind.com/silverlight/clock_xml-instead-of-xaml-exstension.html

The best solution is of course to configure your server to handle xaml-files correctly, but for testing, this works just fine.

Tuesday, May 8, 2007

Flash to silverlight converter and other cool tools

Michael Swanson has created a swf to xaml converter called SWF2XAML.

http://www.mikeswanson.com/SWF2XAML/

It's really good at converting animations/graphics but it doesn't support actionscript, which is quite obvious since the xaml only contains the graphical objects of the project.Mike has also created a illustrator to xaml exporter.
I guess that both these tools will be used to create graphics easier. Doing all graphics by editing xaml files with notepad is something I wouldn't even touch...

Silverlight, first attempts...

My first attempts in creating silverlight has worked very well offline but not at all online... I think it has to do with upper/lower case characters but I made all files lowercase but it didn't help. I let you know when I figure it out...

Edit: Argh, it's probably the web-server that isn't configured for dealing with xaml (zammel) files...