[Qt-qml] How to animate a sequence of png images
Diego Dotta
diegodotta at gmail.com
Sat Jul 9 01:08:13 CEST 2011
Hi Guys, and if you use only a Behavior, like that:
Image {
property int currentImage:1
source: "img/sequence"+currentImage+".png"
Behavior on currentImage {
PropertyAnimation { duration: 1000 }
}
MouseArea {
anchors.fill: parent
onClicked: parent.currentImage = 10
}
}
How About?
I make another example in:
http://quicking.wordpress.com/2011/07/08/image-sequence/
Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20110708/5a3cf8e4/attachment.html
More information about the Qt-qml
mailing list