Storyboard animation stutters at first performance

In my wp8 application, I have a fixed storyboard animation (just 1 second) with about 20 properties that are animated using various attenuation functions. In fact, it works very well and fluid.

But for the first time, when I call this storyboard in the code behind:

FlipPageStoryboard.Begin();

for half a second nothing happens, and then the animation is almost over, and the animation is already at the end - so there is a big jump of all the elements.

After that, reverse animation (another different storyboard) works fine, and FlipPageStoryboard itself also works.

So, I think this is the initialization of animations on first run () - a call? Is there a way to initialize this before the user needs to use it?

Thank.

+3
source share

All Articles