I would like to have a PNG animation sequence

I would like to have a PNG animation sequence - that reveal the picture and the picture don’t disappear at the end.
I was trying to make an action - but without any luck.
I would like to stop animation at the last frame

By default, the finished animation shows the first frame.
See the animation.pma example.

You need to add the following script:

import QtQuick 2.0
Item {
  Connections { 
    target:  subItem
    onCurrentFrameChanged: if (subItem.currentFrame == 0) subItem.currentFrame = subItem.imagesCount - 1
  }
}
  1. Select the animation widget
  2. Open the Interaction tab on the Inspector
  3. Click add User code
  4. Paste the script

Back to Flipabit >
Copyright © 2018. Flipabit Team. All rights reserved.