locked
Animation cannot Start RRS feed

  • Question

  • I am very new in silverlight, and now i'm try to create a simple animation. When I create it complete in Expression Blend and I try to run it in Visual studio, it doesn't work. So, I'm remove the javascript that request to run the storyboard in XAML. The output can show !!!  Now I am very confuse about that. and I hope you can help me.

    i am loking for hearing from you.

     

    Best Regard
    Fu Fu

    Monday, April 21, 2008 5:50 AM

Answers

All replies

  • Hi:

      If you want to make the animation auto start please uncheck the "Create as a Resource" option when creating new storyboard in Expression Blend.

    Regards

    Tuesday, April 22, 2008 9:54 PM
  • Okay, I  got it. and So thank you for very helpful answerSmile

    Next question is, if I need to have some event before the story board will run. For example, Storyboard A that contain a motion of rectangle. And now I wnat it move when I click it. How should I do???

     So thank you for all answer

     

    Best Regard

    Fu Fu

    Wednesday, April 23, 2008 12:38 AM
  • Hi:

      In that case you need to create the storyboard as a resource. And you can play the animation in the event handler.

    http://msdn2.microsoft.com/en-us/library/bb979685.aspx

    Regards

    Wednesday, April 23, 2008 12:48 AM
  • That very good new for me!!!

     

    Thank you very mush for a very good reply

     

    Best Regard

    Fu Fu

    Wednesday, April 23, 2008 8:30 AM