[Qt-qml] Starting Sequential Animations

michael.brasser at nokia.com michael.brasser at nokia.com
Wed Jul 14 06:32:15 CEST 2010


Hi,

You can continue to use the previous "on" syntax:

SequentialAnimation on x {
    PauseAnimation { duration: 300 }
    NumberAnimation {} //don't need to specify target/property
}

You can also manually trigger an animation by calling start(), or by using the running property (running: true).

Regards,
Michael

On 14/07/2010, at 2:17 PM, ext Jason H wrote:

> Previously, my items self-animated a single animation.
> 
> Text { ... NumberAnimation on x { } }
> 
> Now I wish to do:
> 
> Text { 
>    ... 
>    SequentialAnimation { 
>        PauseAnimation {duration: 300 }  
>        NumberAnimation  { target: ...; property: ..; ...}  
>    } 
> }
> 
> However I can't seem to "kick" the animation off. Before the NumberAnimation 
> started immediately. How can I get the sequential Animation to start?
> 
> Thanks!
> 
> 
> 
> 
> _______________________________________________
> Qt-qml mailing list
> Qt-qml at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-qml





More information about the Qt-qml mailing list