locked
Animations on button seems to stumble on every "first time", but not ever after, why? RRS feed

All replies

  • Hi Kato,

    I have such experience too, I don't know if that could be a help for your scenario.

    In my animation, I played images one by one in a really short time so that they can behaviors like a gif, and every first time I play the animation, the images are flickering.

    I changed the image source from backend instead of play the animation and I solve the flickering issue.

    Could this help you? I don't know what "stumble" means in your question.

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Monday, October 27, 2014 1:59 AM
    Moderator
  • Hi James,

    As blog I read, talked about "flickering" during animation, running my second "hearbeat" bye pushing button, my "flip" animation  does more "stumble/crash" every first time, even if "heartbeat" is paused first?! After first run it is always perfect?!

    You write; "I changed the image source from backend instead of play the animation...."

    What you mean here?

    Else I still wonder about it...


    Regards, Kato.

    Monday, October 27, 2014 3:06 AM
  • Looks we are talking about different things, could you share a reproducible demo so that we can get a better understanding for your issue and also debug the code to find a solution.

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Monday, October 27, 2014 8:36 AM
    Moderator
  • Hi,

    Okei - you can test the app yourself;

    http://apps.microsoft.com/windows/en-us/app/bmiuz/e6f29a5c-8e96-4017-a090-c2b1f54e3ce1

    Let me know if you have any ideas...its also the same on the phone edition.


    Regards, Kato.

    Monday, October 27, 2014 11:15 PM
  • Well, I can see that, the animation is not fired when first time click on the heart.

    There must be something block the animation, could you share the animation part of code with me for a test, I don't know if the breathing animation block the flip animation.

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Tuesday, October 28, 2014 7:55 AM
    Moderator
  • okei - so why does it not get "blocked" on the second and eternal run, after the first?

    As button is clicked;

    this.ButtonAnimation.Pause();
    this.ButtonFlipAnimation.Begin();

    As input textbox1 is focused.

    this.ButtonAnimation.Resume();

    Dead simple - but stumble/crash on the first run.....


    Regards, Kato.

    Tuesday, October 28, 2014 12:34 PM