On 06/02/2011, at 11:58 PM, ext Thomas Perl wrote: > Hi Vinayakam, > > 2011/2/6 Vinayakam Murugan <[email protected]>: >> NumberAnimation { target: inner; properties: 'opacity';from:0; to:1; >> easing.type:Easing.InCubic; duration:1000} > > Thanks for the suggestion, but that does not solve my problem. I have > two different cases: > > * state onscreen -> offscreen: Set opacity = 0 *after* the transition > * state offscreen -> onscreen: Set opacity = 1 *before* the transition
If you need a different sequence of animations for each case, have you tried defining two transitions and applying the correct one to each by case setting the Transition::from and Transition::to properties? regards, Bea _______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml
