I get an error on the repeat:true line. Why? Docs say 'repeat' belongs to 
Animation.
Thanks!

importQt4.7 
Rectangle {
        width: 860
        height: 540
        gradient: Gradient {
                GradientStop { position: 1; color:"blue"}
                GradientStop { position: 0; color: "midnightblue"}
        }
        Image {
                anchors.centerIn: parent
                source: "23.jpg";
                opacity: 0.75
                smooth: true
                SequentialAnimation on scale {
                        repeat: true
                                        PropertyAnimation {
                                                from: 2
                                                to: 2.5
                                                duration: 3000
                                        }
                                        PropertyAnimation{
                                                from: 2.5
                                                to: 2
                                                duration: 3000
                                        }
                        }
        }
}


      
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to