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 public property called "repeater" that needs to be set to Repeater.INFINITE in order to accomplish infinite looping. The problem is that it's</div><div>not actually doing that at all. I tried adding a listener for the "CYCLE" event, but that doesn't get triggered either.</div>
<div><br></div><div>Here'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:['timeout triggered']} );<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, "timeout triggered" 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'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>