<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Okay here's what I've cooked up:&nbsp;</div><div>A couple of simple iterator utils that sit in the managers package, <b>Repeater</b> &amp; <b>LinearGoRepeater</b>.</div><div><br></div><div>This has allowed me to condense the cycles feature of LinearGo quite a bit... the class no longer contains properties cycles, easeOnCycle or the two properties that were still needed, extra easing params for easeOnCycle and an option to play the tween multiple times forwards instead of cycling back-and-forth. All of that has been neatly encapsulated so you can now do,</div><div><br></div><div><font class="Apple-style-span" face="Courier">mytween.repeater.cycles = 2;</font></div><div><font class="Apple-style-span" face="Courier">mytween.repeater.reverseOnCycle = false; // play fwd both times</font></div><div><br></div><div><br></div><div>Let me know what you think of this implementation, the release including useFrames is pretty much ready now.</div><div><br></div><div>-moses</div><div><br></div><div><span class="Apple-style-span" style="font-family: Tahoma; font-size: 20px; ">Class&nbsp;Repeater</span></div><div><br></div><div><tr><th colspan="2" style="font-size: 13px; text-align: left; font-weight: bold; vertical-align: bottom; color: rgb(255, 255, 255); background-color: rgb(98, 124, 157); white-space: nowrap; ">Constant</th><th class="summaryTableOwnerCol" style="font-size: 13px; text-align: left; font-weight: bold; vertical-align: bottom; padding-right: 10px; width: 10px; color: rgb(255, 255, 255); background-color: rgb(98, 124, 157); white-space: nowrap; ">Defined&nbsp;by</th></tr><tr class="" bgcolor="#FFFFFF"><td class="summaryTablePaddingCol" style="font-size: 13px; width: 5px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; ">&nbsp;</td><td class="summaryTableInheritanceCol" style="font-size: 13px; width: 14px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; ">&nbsp;</td><td class="summaryTableSignatureCol" style="font-size: 13px; padding-right: 10px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; "><a class="signatureLink" href="file:///Users/moses/Data/Eclipse_Workspace/Go/Go_Current/docs/org/goasap/managers/Repeater.html#INFINITE" style="font-weight: bold; color: rgb(0, 0, 204); text-decoration: none; ">INFINITE</a>&nbsp;: uint = 0<div class="summaryTableDescription" style="color: rgb(51, 51, 51); ">[static] Makes code more human-readable, like&nbsp;<code style="font-family: 'Lucida Console', 'Courier New', Courier, monospace; font-size: 12px; ">new Repeater(Repeater.INFINITE);</code></div></td><td class="summaryTableOwnerCol" style="font-size: 13px; padding-right: 10px; width: 10px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; ">Repeater</td></tr></div><div><br></div><div><br></div><div><tr><th style="font-size: 13px; text-align: left; font-weight: bold; vertical-align: bottom; color: rgb(255, 255, 255); background-color: rgb(98, 124, 157); white-space: nowrap; ">&nbsp;</th><th colspan="2" style="font-size: 13px; text-align: left; font-weight: bold; vertical-align: bottom; color: rgb(255, 255, 255); background-color: rgb(98, 124, 157); white-space: nowrap; ">Property</th><th class="summaryTableOwnerCol" style="font-size: 13px; text-align: left; font-weight: bold; vertical-align: bottom; padding-right: 10px; width: 10px; color: rgb(255, 255, 255); background-color: rgb(98, 124, 157); white-space: nowrap; ">Defined&nbsp;by</th></tr><tr class="" bgcolor="#FFFFFF"><td class="summaryTablePaddingCol" style="font-size: 13px; width: 5px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; ">&nbsp;</td><td class="summaryTableInheritanceCol" style="font-size: 13px; width: 14px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; ">&nbsp;</td><td class="summaryTableSignatureCol" style="font-size: 13px; padding-right: 10px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; "><a class="signatureLink" href="file:///Users/moses/Data/Eclipse_Workspace/Go/Go_Current/docs/org/goasap/managers/Repeater.html#currentCycle" style="font-weight: bold; color: rgb(0, 0, 204); text-decoration: none; ">currentCycle</a>&nbsp;: uint<div class="summaryTableDescription" style="color: rgb(51, 51, 51); ">[read-only] Current cycle starting at 0, which will continue to increase up to&nbsp;<code style="font-family: 'Lucida Console', 'Courier New', Courier, monospace; font-size: 12px; ">cycles</code>&nbsp;or indefinitely if cycles is set to Repeater.INFINITE (zero).</div></td><td class="summaryTableOwnerCol" style="font-size: 13px; padding-right: 10px; width: 10px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; ">Repeater</td></tr><tr class="" bgcolor="#F2F2F2"><td class="summaryTablePaddingCol" style="font-size: 13px; width: 5px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; ">&nbsp;</td><td class="summaryTableInheritanceCol" style="font-size: 13px; width: 14px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; ">&nbsp;</td><td class="summaryTableSignatureCol" style="font-size: 13px; padding-right: 10px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; "><a class="signatureLink" href="file:///Users/moses/Data/Eclipse_Workspace/Go/Go_Current/docs/org/goasap/managers/Repeater.html#cycles" style="font-weight: bold; color: rgb(0, 0, 204); text-decoration: none; ">cycles</a>&nbsp;: uint<div class="summaryTableDescription" style="color: rgb(51, 51, 51); ">Number of times the Repeater will iterate, which can be set to zero or Repeater.INFINITE for indefinite repeating.</div></td><td class="summaryTableOwnerCol" style="font-size: 13px; padding-right: 10px; width: 10px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; ">Repeater</td></tr><tr class="" bgcolor="#FFFFFF"><td class="summaryTablePaddingCol" style="font-size: 13px; width: 5px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; ">&nbsp;</td><td class="summaryTableInheritanceCol" style="font-size: 13px; width: 14px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; ">&nbsp;</td><td class="summaryTableSignatureCol" style="font-size: 13px; padding-right: 10px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; "><a class="signatureLink" href="file:///Users/moses/Data/Eclipse_Workspace/Go/Go_Current/docs/org/goasap/managers/Repeater.html#done" style="font-weight: bold; color: rgb(0, 0, 204); text-decoration: none; ">done</a>&nbsp;: Boolean<div class="summaryTableDescription" style="color: rgb(51, 51, 51); ">[read-only] True if cycles is not infinite and currentCycle has reached cycles.</div></td><td class="summaryTableOwnerCol" style="font-size: 13px; padding-right: 10px; width: 10px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; ">Repeater</td></tr></div><div><br></div><div><br></div><div><span class="Apple-style-span" style="font-family: Tahoma; font-size: 20px; ">Class&nbsp;LinearGoRepeater</span></div><div><br></div><div><span class="Apple-style-span" style="font-family: Tahoma; font-size: 13px; "><table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0" style="background-color: white; margin-top: 10px; border-top-color: rgb(153, 153, 153); border-right-color: rgb(153, 153, 153); border-bottom-color: rgb(153, 153, 153); border-left-color: rgb(153, 153, 153); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; width: 100%; margin-bottom: 20px; margin-right: 10px; position: static; z-index: auto; "><tbody><tr class="" bgcolor="#FFFFFF"><td class="summaryTablePaddingCol" style="font-size: 13px; width: 5px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; ">&nbsp;</td><td class="summaryTableInheritanceCol" style="font-size: 13px; width: 14px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; ">&nbsp;</td><td class="summaryTableSignatureCol" style="font-size: 13px; padding-right: 10px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; "><a class="signatureLink" href="file:///Users/moses/Data/Eclipse_Workspace/Go/Go_Current/docs/org/goasap/managers/LinearGoRepeater.html#direction" style="font-weight: bold; color: rgb(0, 0, 204); text-decoration: none; ">direction</a>&nbsp;: int<div class="summaryTableDescription" style="color: rgb(51, 51, 51); ">[read-only] Current play direction depending on reverseOnCycle and currentCycle.</div></td><td class="summaryTableOwnerCol" style="font-size: 13px; padding-right: 10px; width: 10px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; ">LinearGoRepeater</td></tr><tr class="" bgcolor="#F2F2F2"><td class="summaryTablePaddingCol" style="font-size: 13px; width: 5px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; ">&nbsp;</td><td class="summaryTableInheritanceCol" style="font-size: 13px; width: 14px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; ">&nbsp;</td><td class="summaryTableSignatureCol" style="font-size: 13px; padding-right: 10px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; "><a class="signatureLink" href="file:///Users/moses/Data/Eclipse_Workspace/Go/Go_Current/docs/org/goasap/managers/LinearGoRepeater.html#easingOnCycle" style="font-weight: bold; text-decoration: underline; color: rgb(0, 0, 204); ">easingOnCycle</a>&nbsp;: Function<div class="summaryTableDescription" style="color: rgb(51, 51, 51); ">Storage for optional secondary easing to use on reverse cycles.</div></td><td class="summaryTableOwnerCol" style="font-size: 13px; padding-right: 10px; width: 10px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; ">LinearGoRepeater</td></tr><tr class="" bgcolor="#FFFFFF"><td class="summaryTablePaddingCol" style="font-size: 13px; width: 5px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; ">&nbsp;</td><td class="summaryTableInheritanceCol" style="font-size: 13px; width: 14px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; ">&nbsp;</td><td class="summaryTableSignatureCol" style="font-size: 13px; padding-right: 10px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; "><a class="signatureLink" href="file:///Users/moses/Data/Eclipse_Workspace/Go/Go_Current/docs/org/goasap/managers/LinearGoRepeater.html#extraEasingParams" style="font-weight: bold; color: rgb(0, 0, 204); text-decoration: none; ">extraEasingParams</a>&nbsp;: Array<div class="summaryTableDescription" style="color: rgb(51, 51, 51); ">Additional parameters to use with easingOnCycle if the function accepts more than four.</div></td><td class="summaryTableOwnerCol" style="font-size: 13px; padding-right: 10px; width: 10px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; ">LinearGoRepeater</td></tr><tr class="" bgcolor="#F2F2F2"><td class="summaryTablePaddingCol" style="font-size: 13px; width: 5px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; ">&nbsp;</td><td class="summaryTableInheritanceCol" style="font-size: 13px; width: 14px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; ">&nbsp;</td><td class="summaryTableSignatureCol" style="font-size: 13px; padding-right: 10px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; "><a class="signatureLink" href="file:///Users/moses/Data/Eclipse_Workspace/Go/Go_Current/docs/org/goasap/managers/LinearGoRepeater.html#reverseOnCycle" style="font-weight: bold; color: rgb(0, 0, 204); text-decoration: none; ">reverseOnCycle</a>&nbsp;: Boolean<div class="summaryTableDescription" style="color: rgb(51, 51, 51); ">Whether tween direction should reverse every other cycle.</div></td><td class="summaryTableOwnerCol" style="font-size: 13px; padding-right: 10px; width: 10px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; ">LinearGoRepeater</td></tr></tbody></table></span></div><div><span class="Apple-style-span" style="font-family: Tahoma; font-size: 20px; ">Class&nbsp;LinearGo</span></div><div><br></div><div><span class="Apple-style-span" style="font-family: Tahoma; font-size: 13px; "><table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0" style="background-color: white; margin-top: 10px; border-top-color: rgb(153, 153, 153); border-right-color: rgb(153, 153, 153); border-bottom-color: rgb(153, 153, 153); border-left-color: rgb(153, 153, 153); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; width: 100%; margin-bottom: 20px; margin-right: 10px; position: static; z-index: auto; "><tbody><tr class="" bgcolor="#FFFFFF"><td class="summaryTableSignatureCol" style="font-size: 13px; padding-right: 10px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; "><div class="summarySignature" style="text-indent: -20px; padding-left: 20px; "><a class="signatureLink" href="file:///Users/moses/Data/Eclipse_Workspace/Go/Go_Current/docs/org/goasap/items/LinearGo.html#LinearGo()" style="font-weight: bold; color: rgb(0, 0, 204); text-decoration: none; ">LinearGo</a>(delay:Number,&nbsp;</div><div class="summarySignature" style="text-indent: -20px; padding-left: 20px; "><span class="Apple-tab-span" style="white-space:pre">                </span>duration:Number,&nbsp;</div><div class="summarySignature" style="text-indent: -20px; padding-left: 20px; "><span class="Apple-tab-span" style="white-space:pre">                </span>easing:Function = null,&nbsp;</div><div class="summarySignature" style="text-indent: -20px; padding-left: 20px; "><span class="Apple-tab-span" style="white-space:pre">                </span>extraEasingParams:Array = null,&nbsp;</div><div class="summarySignature" style="text-indent: -20px; padding-left: 20px; "><span class="Apple-tab-span" style="white-space:pre">                </span><b>repeater:</b><a href="file:///Users/moses/Data/Eclipse_Workspace/Go/Go_Current/docs/org/goasap/managers/LinearGoRepeater.html" style="color: rgb(0, 0, 204); text-decoration: none; "><b>LinearGoRepeater</b></a><b>&nbsp;= null, // new!</b></div><div class="summarySignature" style="text-indent: -20px; padding-left: 20px; "><span class="Apple-tab-span" style="white-space:pre">                </span>useRelative:Boolean = false,&nbsp;</div><div class="summarySignature" style="text-indent: -20px; padding-left: 20px; "><span class="Apple-tab-span" style="white-space:pre">                </span>useRounding:Boolean = false,&nbsp;</div><div class="summarySignature" style="text-indent: -20px; padding-left: 20px; "><span class="Apple-tab-span" style="white-space:pre">                </span><b>useFrames:Boolean = false, // new!</b></div><div class="summarySignature" style="text-indent: -20px; padding-left: 20px; "><span class="Apple-tab-span" style="white-space:pre">                </span>pulseInterval:Number)</div></td></tr></tbody></table></span></div><div><span class="Apple-style-span" style="font-family: Tahoma; font-size: 13px; "><table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0" style="background-color: white; margin-top: 10px; border-top-color: rgb(153, 153, 153); border-right-color: rgb(153, 153, 153); border-bottom-color: rgb(153, 153, 153); border-left-color: rgb(153, 153, 153); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; width: 100%; margin-bottom: 20px; margin-right: 10px; position: static; z-index: auto; "><tbody><tr class="" bgcolor="#F2F2F2"><td class="summaryTableSignatureCol" style="font-size: 13px; padding-right: 10px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; "><a class="signatureLink" href="file:///Users/moses/Data/Eclipse_Workspace/Go/Go_Current/docs/org/goasap/items/LinearGo.html#repeater" style="font-weight: bold; color: rgb(0, 0, 204); text-decoration: none; ">repeater</a>&nbsp;:&nbsp;<a href="file:///Users/moses/Data/Eclipse_Workspace/Go/Go_Current/docs/org/goasap/managers/LinearGoRepeater.html" style="color: rgb(0, 0, 204); text-decoration: none; ">LinearGoRepeater</a><div class="summaryTableDescription" style="color: rgb(51, 51, 51); ">[read-only] A LinearGoRepeater instance that defines options for repeated or back-and-forth cycling animation.</div></td></tr></tbody></table></span></div><div><span class="Apple-style-span" style="font-family: Tahoma; font-size: 20px; ">Class&nbsp;SequenceBase</span></div><div><font class="Apple-style-span" face="Tahoma" size="6"><span class="Apple-style-span" style="font-size: 20px;"><br></span></font></div><div><font class="Apple-style-span" face="Tahoma" size="6"><span class="Apple-style-span" style="font-size: 20px;"><span class="Apple-style-span" style="font-size: 13px; "><table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0" style="background-color: white; margin-top: 10px; border-top-color: rgb(153, 153, 153); border-right-color: rgb(153, 153, 153); border-bottom-color: rgb(153, 153, 153); border-left-color: rgb(153, 153, 153); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; width: 100%; margin-bottom: 20px; margin-right: 10px; position: static; z-index: auto; "><tbody><tr class="" bgcolor="#FFFFFF"><td class="summaryTableSignatureCol" style="font-size: 13px; padding-right: 10px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; "><a class="signatureLink" href="file:///Users/moses/Data/Eclipse_Workspace/Go/Go_Current/docs/org/goasap/utils/SequenceBase.html#repeater" style="font-weight: bold; color: rgb(0, 0, 204); text-decoration: none; ">repeater</a>&nbsp;:&nbsp;<a href="file:///Users/moses/Data/Eclipse_Workspace/Go/Go_Current/docs/org/goasap/managers/Repeater.html" style="color: rgb(0, 0, 204); text-decoration: none; ">Repeater</a><div class="summaryTableDescription" style="color: rgb(51, 51, 51); ">[read-only] The sequence's Repeater instance, which may be used to make the sequence loop and play more than one time.</div></td><td class="summaryTableOwnerCol" style="font-size: 13px; padding-right: 10px; width: 10px; border-top-color: rgb(153, 153, 153); border-top-width: 1px; border-top-style: solid; vertical-align: top; ">SequenceBase</td></tr></tbody></table></span></span></font></div><div>(replaces <b>repeatCount</b>&nbsp;&amp; <b>currentCount</b> properties for Sequence &amp; SequenceCA)</div><div><br></div><div><br></div></body></html>