HiTechMagic

HiTechMagic
- Name: [not set]
- Favorite Languages: [not set]
- Website: [not set]
- Location: [not set]
- About Me: [not set]
-
Silverlight 3 Tutorial - PlaneProjection and Perspective 3D
07/19/2009 - 17:13
Nice effect.
Actually you can do this in XAML only with Siverlight 3. SL 3 supports Behaviours which can trigger storyboards on many mouse events, including the basic MouseLeftButtonDown.
By putting a second duplicate (and reversed) image on the back of each, with a Behavior to trigger the reversal effect, I was able to reproduce the same effect with no code at all. The only other change I made was the have the storyboard change ZIndex at the halfway point, so that the back image is shown instead of the front enabling the reverse mouse event.
Cheers
Recent Comments