| 66 | left:0, right:0, top:0, bottom:0, skin:whiteSkin, |
| 67 | Behavior: class extends Behavior { |
| 68 | startAnimation(container) { |
| 69 | this.timeline = (new Timeline) |
| 70 | .to(container.first.next, { y:application.height - ((application.height-120) >> 1) }, 500, Math.quadEaseOut, 0) |
| 71 | .to(container.first, { x:application.width }, 1000, Math.quadEaseOut, 0) |
| 72 | .to(container.last, { x:(application.width - 120) >> 1 }, 1000, Math.quadEaseOut, -1000) |
| 73 | container.duration = this.timeline.duration + 1000; |
| 74 | container.start(); |
| 75 | } |
| 76 | onFinished(container) { |
| 77 | container.bubble("onStep"); |
| 78 | } |