<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Yeah, you're right -- addStepAt() should return int, but addStep() should return the last step added, which more closely mirrors the familiar addChild/addChildAt from the DisplayObject class.&nbsp;</div><div><br></div><div>Good suggestion!</div><div><br></div><div>As far as OnDurationComplete(0) goes, that seems like overkill if you look in that class, there's a lot going on in there.&nbsp;</div><div><br></div><div>Try making a new custom advance type like Immediate that does nothing but call dispatchAdvance at start. If it works mabye we'll toss that into the Go core package.</div><div><br></div><div>m</div><div><br></div><div><br></div><div><br></div><div><div>On Mar 12, 2009, at 2:11 PM, Gil Birman wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">btw, it's too bad we can't do...<div><br></div><div><div><span style="font-family: 'courier new', monospace; ">seq.addStep( ... ).advance = new OnDurationComplete(0);</span></div><div><span class="Apple-style-span" style="font-family: 'courier new'; font-size: 12px;"><br> </span></div><div><span class="Apple-style-span" style="font-family: 'courier new'; font-size: 12px;">... I assume there's a good reason for this ??...</span></div><br><div class="gmail_quote">On Thu, Mar 12, 2009 at 12:40 PM, Gil Birman <span dir="ltr">&lt;<a href="mailto:gil@allflashwebsite.com">gil@allflashwebsite.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">GoASAP can already do pretty much the same thing with SequenceCA.&nbsp;<div><br></div><div><br></div><div><div><span style="font-family:'courier new', monospace">seq.addStep( ... );</span></div> <div><span style="font-family:'courier new', monospace">seq.lastStep.advance = new OnDurationComplete(0);</span></div><div><br></div></div><div><br></div><div>... It takes 2 lines of code, but I have made it easier by creating a really simple subclass of SequenceCA</div> </blockquote></div><br><br> </div> _______________________________________________<br>GoList mailing list<br><a href="mailto:GoList@goasap.org">GoList@goasap.org</a><br>http://goasap.org/mailman/listinfo/golist_goasap.org<br></blockquote></div><br></body></html>