Both the RotationAnimation and the ColorAnimation are nodes of a higher
level group animation, in this case the Parallel Animation. That means you
should not start or stop the child animations directly. Instead, give the
top animation an ID and call start and stop from there.

On Mon, Jul 19, 2010 at 3:30 PM, Stephen Collyer
<[email protected]>wrote:

> The following code generates the warning in the subject line.
> Can anyone tell me what is causing this ?
>
> Item
> {
> ..
>     Text
>     {
>         id: goodbye
>         text: "Goodbye"
>         color: "red"
>         anchors.horizontalCenter: page.horizontalCenter
>         anchors.verticalCenter: page.verticalCenter
>         rotation: 0
>     }
>
>     ParallelAnimation
>     {
>         RotationAnimation
>         {
>             id: rot
>             target: goodbye
>             loops: Animation.Infinite
>             from: 0
>             to: 360
>             duration: 4000
>         }
>         ColorAnimation
>         {
>             target: goodbye
>             from: "red"
>             to: "blue"
>         }
>    }
> }
>
> --
> Stephen Collyer
>
> _______________________________________________
> Qt-qml mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-qml
>
>


-- 
Eduardo M. Fleury
OpenBossa - INdT
http://eduardofleury.com/
http://www.openbossa.org/
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to