Animation not initiating RRS feed

  • Question

  • Hi,

    I'm really new to Exression Blend. I initially created an animation in the WPF file but decided to go Silverlight2 since I needed to put it online. (Silverlight's deploying seemed less extensive than the previous) I was able to bring in the code to my Silverlight file. The storyboard works fine and animates as I set it to. It's just a simple move from here to here. It'll display/animate fine when I hit play in the program but the test page doesn't animate.

    I'm totally missing something. Any help is much appreciated!
    Tuesday, October 21, 2008 5:16 PM

All replies

  • Hi,
            You prob. need to invoke the Storyboard in an event handler. You can try following these steps:

    1. In Object and Timeline select LayoutRoot and then open Property Inspector for it.

    2. Double Cick on Loaded Event and this will open up the event code in Visual Studio

    3. In LayoutRoot_Loaded() invoke the storyboard:

        private void LayoutRoot_Loaded(object sender, System.Windows.RoutedEventArgs e)

    4. Execute the project.

    Hope this helps...

    Navit Saxena

    Tuesday, October 21, 2008 5:59 PM
  • hi,

    thanks for the tip but i kept getting an error that says this code can't be changed and it has aborted the action. any other ideas?
    Thursday, October 23, 2008 2:35 PM
  • this.control = control;
    Saturday, October 25, 2008 6:44 PM