addCommand Sample 1
$.addCommand.define(); var img1 = $("#img1"), img2 = $("#img2"), img3 = $("#img3"); addCommand( DoTweener(img1, { opacity: 0, top: 90 + "px", left: 260 + "px" }, 1000, "easeInOutCirc", function() {}), DoTweener(img2, { opacity: 0, top: 170 + "px", left: 450 + "px" }, 1000, "easeInOutCirc", function() {}), DoTweener(img3, { opacity: 0, top: 260 + "px", left: 620 + "px" }, 1000, "easeInOutCirc", function() {}), [ DoTweener(img1, { opacity: 1, top: 0 + "px", left: 0 + "px" }, 1000, "easeInBack", function() {}), DoTweener(img2, { opacity: 1, top: 0 + "px", left: 0 + "px" }, 1000, "easeInBack", function() {}), DoTweener(img3, { opacity: 1, top: 0 + "px", left: 0 + "px" }, 1000, "easeInBack", function() {}) ] );