Microsoft Expression blend 2: Make an animation. The personal feeling is 3 DMAX.
Automatically captures key frames.
The problem is coming again.
The animation created by Microsoft Expression blend 2 cannot be moved.
Now the Masters teach you how to make silverlight.2.0 animated
Simple
You made an animation.
But no trigger point
Or do not tell when to start
Microsoft Visual Web Developer 2008 express edition or vs2008
Install the Silverlight tools patch.
This is convenient
Of course, you can also use notepad.
Open the code section. For example, my section is page. XAML. CS.
For example, I want to make the animation ballmove (Microsoft Expression blend storyboard name)
To run the animation at startup:
If you don't understand the code
We recommend that you find this book, such as the wrox Redbook C # entry-level classic
Using system;
Using system. windows;
Using system. Windows. controls;
Using system. Windows. documents;
Using system. Windows. Ink;
Using system. Windows. input;
Using system. Windows. Media;
Using system. Windows. Media. animation;
Using system. Windows. shapes;
Namespace feiruwenzi
{
Public partial class page: usercontrol
{
Public page ()
{
// Required to initialize Variables
Initializecomponent ();
This. Loaded + = new routedeventhandler (page_loaded );
// Delegate hook registration, which is valid. We recommend that you use the tab key when using vs or vWD.
}
Void page_loaded (Object sender, routedeventargs E)
{
Ballmove. Begin (); // start
}
}
}