Hello fellow GoList members,<div><br></div><div>I would really appreciate it if someone can help me out with this issue. My project will be ready to launch as soon as this is fixed.</div><div><br></div><div><div>I am having an issue with a HydroSequence instance that I need to loop indefinitely. As far as I understand it, a HydroSequence class instance</div>
<div>has a&nbsp;public property called &quot;repeater&quot; that needs to be set to Repeater.INFINITE in order to accomplish infinite looping. The problem is that it&#39;s</div><div>not actually doing that at all. I tried adding a listener for the &quot;CYCLE&quot; event, but that doesn&#39;t get triggered either.</div>
<div><br></div><div>Here&#39;s the relevant portion of the code:</div><div><br></div><div><div>--------------------------------------</div><div><br></div><div><div>import com.hydrotik.go.HydroSequence;</div><div><div>import org.goasap.managers.Repeater;</div>
<div><br></div></div></div><div>__sequence = new HydroSequence();</div><div>__sequence.repeater.cycles = Repeater.INFINITE;</div><div><br></div></div><div><div>__sequence.addItem( { func:firstFunction, args:[whatever] } );<br>
</div><div>__sequence.addItem( { func:secondFunction } );<br></div><div>__sequence.addItem( { target:__fader, start_alpha:1, alpha:0, duration:__duration_fade } );<br></div><div>__sequence.addItem( { delay:Number(properties.@timeout) || __duration_timeout, func:trace, args:[&#39;timeout triggered&#39;]} );<br>
</div><div><br></div><div>__sequence.start();</div><div><br></div><div>--------------------------------------</div><div><br></div><div>If I execute the above and look at the output, &quot;timeout triggered&quot; will show only once, which is obviously not what I need.</div>
<div><br></div><div>I have even tried adding another step to the sequence that basically calls __sequence.start(), like so:</div><div><br></div><div>__sequence.addItem( { taget:__sequence func:start } );<br></div><div><br>
</div><div>... but that did absolutely nothing.</div><div><br></div><div>Am I missing something here? I really can&#39;t seem to get it to work correctly.</div><div>Thanks for your time guys!<br></div></div><div><br clear="all">
Bernardo Kuri<br>
</div></div>