Advanced Forum Search Results
-
Scott Guthrie was asked this question in his channel 9 interview yesterday and he said there was nothing to discuss now but it's something they're working on and hope to have some improvements by the time Silverlight 4 ships.
-
Well the easiest way is to include a reference to System.Xml.Linq and use it to load the XML string into an XDocument then get the values you need out of it. More info here:
http://msdn.microsoft.com/en-us/library/cc189074(VS.95).aspx
If you don't want to take the size hit of including this extra assembly in your project, you can use ...
-
I have answered this on the SilverSprite discussion forum since it is a SilverSprite and not a Silverlight issue.
-
Are you doing any scaling? If so you need to specify RenderAtScale in your BitmapCache element with a scale that matches the the actual rendering scale of the element.
-
No, there are still plenty of cases where you would use ASP.NET (and AJAX, MVC, etc). While some people are writing entire sites in Silverlight I personally think it is a better fit to just "light up" the page by adding some rich content where appropriate using Silverlight. Just like you don't see too many sites written ...
-
The short answer on what you use Silverlight for is use it for things you can't do or can't easily do in HTML and Javascript.
[quote user="mutlyp"]Is Silverlight suppose to be the UI creator?[/quote]
Silverlight is a plugin that runs in the browser. Silvrlight applications are created using mainly Visual Studio and Expression ...
-
Have you tried UseLayoutRounding="true"?
-
I cover animating a PNG sprite strip here:
http://www.bluerosegames.com/silverlight-games-101/post/Frame-Based-Sprite-Animation-in-Silverlight.aspx
This was with Silverlight 2, I think I'll be creating a Behavior to do this in Silverlight 3.
-
Ok I'm doing this successfully in my SilverSprite project, and this is what I have...
Uri u = new Uri(@"/SilverArcade.SilverSprite;component/Shaders/ssdrawcolor.ps", UriKind.Relative);
PixelShader = new PixelShader() { UriSource = u };
The ps file is of content type "Resource". Make sure all of the slashes are in the ...
-
Try this for your path...
/EffectLib;/component/Shaders/TestShader.ps
Oops meant this...
/EffectLib;component/Shaders/TestShader.ps