Originally Posted by
hmasterwang
Written here
Well... that doesn't answer my question as components are meant to do exactly that -- create objects dynamically.
Component {
id: animCompo
SequentialAnimation {
// ...
}
}
//...
var obj = animCompo.createObject(parent, {prop1: val1, prop2: val2, ...})
Component {
id: animCompo
SequentialAnimation {
// ...
}
}
//...
var obj = animCompo.createObject(parent, {prop1: val1, prop2: val2, ...})
To copy to clipboard, switch view to plain text mode
You can probably even use a Repeater in the component to get those property animations inside.
Bookmarks