[Qt-qml] "RotationAnimation: setRunning() cannot be used on non-root animation nodes"

Stephen Collyer scollyer at netspinner.co.uk
Mon Jul 19 20:45:28 CEST 2010


On 19 July 2010 19:38, Eduardo Fleury <eduardo.fleury at openbossa.org> wrote:

> 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.
>

1. Is this documented anywhere ? I can't see anything in Assistant that
mentions
a restriction like this.

2. It's not clear to me what in my code is trying to start or stop the
animations. Is it
the presence of the loops property ?

-- 
Stephen Collyer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100719/96493b37/attachment.html 


More information about the Qt-qml mailing list