From support at bernardokuri.com Thu Feb 12 10:57:13 2009 From: support at bernardokuri.com (Bernardo Kuri) Date: Thu, 12 Feb 2009 12:57:13 -0600 Subject: [Golist] HydroSequence Looping Issue Message-ID: Hello fellow GoList members, 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. 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 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 not actually doing that at all. I tried adding a listener for the "CYCLE" event, but that doesn't get triggered either. Here's the relevant portion of the code: -------------------------------------- import com.hydrotik.go.HydroSequence; import org.goasap.managers.Repeater; __sequence = new HydroSequence(); __sequence.repeater.cycles = Repeater.INFINITE; __sequence.addItem( { func:firstFunction, args:[whatever] } ); __sequence.addItem( { func:secondFunction } ); __sequence.addItem( { target:__fader, start_alpha:1, alpha:0, duration:__duration_fade } ); __sequence.addItem( { delay:Number(properties. at timeout) || __duration_timeout, func:trace, args:['timeout triggered']} ); __sequence.start(); -------------------------------------- If I execute the above and look at the output, "timeout triggered" will show only once, which is obviously not what I need. I have even tried adding another step to the sequence that basically calls __sequence.start(), like so: __sequence.addItem( { taget:__sequence func:start } ); ... but that did absolutely nothing. Am I missing something here? I really can't seem to get it to work correctly. Thanks for your time guys! Bernardo Kuri -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at gomedia.us Thu Feb 12 11:02:17 2009 From: chris at gomedia.us (Christopher Wilson) Date: Thu, 12 Feb 2009 14:02:17 -0500 Subject: [Golist] HydroSequence Looping Issue In-Reply-To: References: Message-ID: <6CDCB98EFE31584A9449991A5E524EBB5707CFB01F@MAIL113.mail.lan> I haven?t used HydroTween yet, but you could instead accomplish this with a Timer. Something like var loopTimer:Timer = new Timer(1000, 0); loopTimer.addEventListener(TimerEvent.TIMER, loopHandler); loopTimer.start(); function loopHandler(t:TimerEvent):void{ hydro sequence? } From: golist-bounces at goasap.org [mailto:golist-bounces at goasap.org] On Behalf Of Bernardo Kuri Sent: Thursday, February 12, 2009 1:57 PM To: golist at goasap.org Subject: [Golist] HydroSequence Looping Issue Hello fellow GoList members, 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. 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 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 not actually doing that at all. I tried adding a listener for the "CYCLE" event, but that doesn't get triggered either. Here's the relevant portion of the code: -------------------------------------- import com.hydrotik.go.HydroSequence; import org.goasap.managers.Repeater; __sequence = new HydroSequence(); __sequence.repeater.cycles = Repeater.INFINITE; __sequence.addItem( { func:firstFunction, args:[whatever] } ); __sequence.addItem( { func:secondFunction } ); __sequence.addItem( { target:__fader, start_alpha:1, alpha:0, duration:__duration_fade } ); __sequence.addItem( { delay:Number(properties. at timeout) || __duration_timeout, func:trace, args:['timeout triggered']} ); __sequence.start(); -------------------------------------- If I execute the above and look at the output, "timeout triggered" will show only once, which is obviously not what I need. I have even tried adding another step to the sequence that basically calls __sequence.start(), like so: __sequence.addItem( { taget:__sequence func:start } ); ... but that did absolutely nothing. Am I missing something here? I really can't seem to get it to work correctly. Thanks for your time guys! Bernardo Kuri -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at gomedia.us Thu Feb 12 11:04:51 2009 From: chris at gomedia.us (Christopher Wilson) Date: Thu, 12 Feb 2009 14:04:51 -0500 Subject: [Golist] HydroSequence Looping Issue In-Reply-To: <6CDCB98EFE31584A9449991A5E524EBB5707CFB01F@MAIL113.mail.lan> References: <6CDCB98EFE31584A9449991A5E524EBB5707CFB01F@MAIL113.mail.lan> Message-ID: <6CDCB98EFE31584A9449991A5E524EBB5707CFB024@MAIL113.mail.lan> Or you may be able to just wrap this thing in a function and then call it from itself with one of those onComplete methods. From: golist-bounces at goasap.org [mailto:golist-bounces at goasap.org] On Behalf Of Christopher Wilson Sent: Thursday, February 12, 2009 2:02 PM To: Mailing list for the Go ActionScript Animation Platform Subject: Re: [Golist] HydroSequence Looping Issue I haven?t used HydroTween yet, but you could instead accomplish this with a Timer. Something like var loopTimer:Timer = new Timer(1000, 0); loopTimer.addEventListener(TimerEvent.TIMER, loopHandler); loopTimer.start(); function loopHandler(t:TimerEvent):void{ hydro sequence? } From: golist-bounces at goasap.org [mailto:golist-bounces at goasap.org] On Behalf Of Bernardo Kuri Sent: Thursday, February 12, 2009 1:57 PM To: golist at goasap.org Subject: [Golist] HydroSequence Looping Issue Hello fellow GoList members, 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. 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 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 not actually doing that at all. I tried adding a listener for the "CYCLE" event, but that doesn't get triggered either. Here's the relevant portion of the code: -------------------------------------- import com.hydrotik.go.HydroSequence; import org.goasap.managers.Repeater; __sequence = new HydroSequence(); __sequence.repeater.cycles = Repeater.INFINITE; __sequence.addItem( { func:firstFunction, args:[whatever] } ); __sequence.addItem( { func:secondFunction } ); __sequence.addItem( { target:__fader, start_alpha:1, alpha:0, duration:__duration_fade } ); __sequence.addItem( { delay:Number(properties. at timeout) || __duration_timeout, func:trace, args:['timeout triggered']} ); __sequence.start(); -------------------------------------- If I execute the above and look at the output, "timeout triggered" will show only once, which is obviously not what I need. I have even tried adding another step to the sequence that basically calls __sequence.start(), like so: __sequence.addItem( { taget:__sequence func:start } ); ... but that did absolutely nothing. Am I missing something here? I really can't seem to get it to work correctly. Thanks for your time guys! Bernardo Kuri -------------- next part -------------- An HTML attachment was scrubbed... URL: From support at bernardokuri.com Thu Feb 12 11:08:42 2009 From: support at bernardokuri.com (Bernardo Kuri) Date: Thu, 12 Feb 2009 13:08:42 -0600 Subject: [Golist] HydroSequence Looping Issue In-Reply-To: <6CDCB98EFE31584A9449991A5E524EBB5707CFB024@MAIL113.mail.lan> References: <6CDCB98EFE31584A9449991A5E524EBB5707CFB01F@MAIL113.mail.lan> <6CDCB98EFE31584A9449991A5E524EBB5707CFB024@MAIL113.mail.lan> Message-ID: Actually that's exactly what I tried, but the event doesn't seem to be triggered...Your Timer idea will not work for me in this case because of the way the code is laid out. Thanks very much for your quick response regardless. Bernardo Kuri On Thu, Feb 12, 2009 at 1:04 PM, Christopher Wilson wrote: > Or you may be able to just wrap this thing in a function and then call it > from itself with one of those onComplete methods. > > > > *From:* golist-bounces at goasap.org [mailto:golist-bounces at goasap.org] *On > Behalf Of *Christopher Wilson > *Sent:* Thursday, February 12, 2009 2:02 PM > *To:* Mailing list for the Go ActionScript Animation Platform > *Subject:* Re: [Golist] HydroSequence Looping Issue > > > > I haven't used HydroTween yet, but you could instead accomplish this with a > Timer. > > > > Something like > > > > var loopTimer:Timer = new Timer(1000, 0); > > loopTimer.addEventListener(TimerEvent.TIMER, loopHandler); > > loopTimer.start(); > > > > function loopHandler(t:TimerEvent):void{ > > hydro sequence? > > } > > > > > > *From:* golist-bounces at goasap.org [mailto:golist-bounces at goasap.org] *On > Behalf Of *Bernardo Kuri > *Sent:* Thursday, February 12, 2009 1:57 PM > *To:* golist at goasap.org > *Subject:* [Golist] HydroSequence Looping Issue > > > > Hello fellow GoList members, > > > > 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. > > > > 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 > > 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 > > not actually doing that at all. I tried adding a listener for the "CYCLE" > event, but that doesn't get triggered either. > > > > Here's the relevant portion of the code: > > > > -------------------------------------- > > > > import com.hydrotik.go.HydroSequence; > > import org.goasap.managers.Repeater; > > > > __sequence = new HydroSequence(); > > __sequence.repeater.cycles = Repeater.INFINITE; > > > > __sequence.addItem( { func:firstFunction, args:[whatever] } ); > > __sequence.addItem( { func:secondFunction } ); > > __sequence.addItem( { target:__fader, start_alpha:1, alpha:0, > duration:__duration_fade } ); > > __sequence.addItem( { delay:Number(properties. at timeout) || > __duration_timeout, func:trace, args:['timeout triggered']} ); > > > > __sequence.start(); > > > > -------------------------------------- > > > > If I execute the above and look at the output, "timeout triggered" will > show only once, which is obviously not what I need. > > > > I have even tried adding another step to the sequence that basically calls > __sequence.start(), like so: > > > > __sequence.addItem( { taget:__sequence func:start } ); > > > > ... but that did absolutely nothing. > > > > Am I missing something here? I really can't seem to get it to work > correctly. > > Thanks for your time guys! > > > Bernardo Kuri > > _______________________________________________ > GoList mailing list > GoList at goasap.org > http://goasap.org/mailman/listinfo/golist_goasap.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From donovan at hydrotik.com Thu Feb 12 11:45:15 2009 From: donovan at hydrotik.com (Donovan Adams) Date: Thu, 12 Feb 2009 14:45:15 -0500 Subject: [Golist] HydroSequence Looping Issue Message-ID: <489e336e$61d30f5f$58ef334d$@com> It seems there is an issue with the autoGC feature and passing a param into HydroSequence. The reason it's not repeating is that HydroTween is clearing out the memory of the tweens in a sequence. I will have to delve into this a bit deeper, but in the meantime y ou might consider using this as an option? var ht1:HydroTween = new HydroTween(target, {x:300}, 1, 0, Quadratic.easeOut, null, null, null, null, null, null, false); var ht2:HydroTween = new HydroTween(target, {x:100}, 1, 0, Quadratic.easeOut, null, null, null, null, null, null, false); var seq:Sequence = new Sequence(ht1, ht2); seq.repeater.cycles = Repeater.INFINITE; seq.start(); -------- Original Message -------- > From: "Bernardo Kuri" > Sent: Thursday, February 12, 2009 6:58 AM > To: golist at goasap.org > Subject: [Golist] HydroSequence Looping Issue > > Hello fellow GoList members, > 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. > > 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 > 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 > not actually doing that at all. I tried adding a listener for the "CYCLE" > event, but that doesn't get triggered either. > > Here's the relevant portion of the code: > > -------------------------------------- > > import com.hydrotik.go.HydroSequence; > import org.goasap.managers.Repeater; > > __sequence = new HydroSequence(); > __sequence.repeater.cycles = Repeater.INFINITE; > > __sequence.addItem( { func:firstFunction, args:[whatever] } ); > __sequence.addItem( { func:secondFunction } ); > __sequence.addItem( { target:__fader, start_alpha:1, alpha:0, > duration:__duration_fade } ); > __sequence.addItem( { delay:Number(properties. at timeout) || > __duration_timeout, func:trace, args:['timeout triggered']} ); > > __sequence.start(); > > -------------------------------------- > > If I execute the above and look at the output, "timeout triggered" will show > only once, which is obviously not what I need. > > I have even tried adding another step to the sequence that basically calls > __sequence.start(), like so: > > __sequence.addItem( { taget:__sequence func:start } ); > > ... but that did absolutely nothing. > > Am I missing something here? I really can't seem to get it to work > correctly. > Thanks for your time guys! > > Bernardo Kuri > > _______________________________________________ > GoList mailing list > GoList at goasap.org > http://goasap.org/mailman/listinfo/golist_goasap.org From support at bernardokuri.com Thu Feb 12 14:23:05 2009 From: support at bernardokuri.com (Bernardo Kuri) Date: Thu, 12 Feb 2009 16:23:05 -0600 Subject: [Golist] HydroSequence Looping Issue In-Reply-To: <489e336e$61d30f5f$58ef334d$@com> References: <489e336e$61d30f5f$58ef334d$@com> Message-ID: Thanks for the suggestion, Donovan.I had to modify your example to fit my code, and this is what i came up with: // start code __sequence = new Sequence(); __sequence.addEventListener("START", onSeqEvent, false, 0, true); __sequence.addEventListener("CYCLE", onSeqEvent, false, 0, true); __sequence.repeater.cycles = Repeater.INFINITE; // The following code resides in another function. As you can see, the sequence needs to be dynamically created: __sequence.addStep(new HydroTween(null, { func:functionOne, args:[whatever] } )); __sequence.addStep(new HydroTween(null, { func:functionTwo } )); __sequence.addStep(new HydroTween(__fader, { start_alpha:1, alpha:0, duration:__duration_fade } )); __sequence.addStep(new HydroTween(null, { delay:Number(properties. at timeout) || __duration_timeout, func:trace, args:['timeout triggered'] } )); __sequence.start(); // end code The weird thing is that none of the events are being dispatched at all. On top of that, my "timeout triggered" trace is not showing on my output anymore. Is there anything else I can try? Thanks a bunch, Bernardo Kuri On Thu, Feb 12, 2009 at 1:45 PM, Donovan Adams wrote: > It seems there is an issue with the autoGC feature and passing a param into > HydroSequence. > > The reason it's not repeating is that HydroTween is clearing out the memory > of the tweens in a sequence. > > I will have to delve into this a bit deeper, but in the meantime y ou might > consider using this as an option? > > var ht1:HydroTween = new HydroTween(target, {x:300}, 1, 0, > Quadratic.easeOut, null, null, null, null, null, null, false); > var ht2:HydroTween = new HydroTween(target, {x:100}, 1, 0, > Quadratic.easeOut, null, null, null, null, null, null, false); > > var seq:Sequence = new Sequence(ht1, ht2); > seq.repeater.cycles = Repeater.INFINITE; > seq.start(); > > -------- Original Message -------- > > From: "Bernardo Kuri" > > Sent: Thursday, February 12, 2009 6:58 AM > > To: golist at goasap.org > > Subject: [Golist] HydroSequence Looping Issue > > > > Hello fellow GoList members, > > 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. > > > > 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 > > 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 > > not actually doing that at all. I tried adding a listener for the > "CYCLE" > > event, but that doesn't get triggered either. > > > > Here's the relevant portion of the code: > > > > -------------------------------------- > > > > import com.hydrotik.go.HydroSequence; > > import org.goasap.managers.Repeater; > > > > __sequence = new HydroSequence(); > > __sequence.repeater.cycles = Repeater.INFINITE; > > > > __sequence.addItem( { func:firstFunction, args:[whatever] } ); > > __sequence.addItem( { func:secondFunction } ); > > __sequence.addItem( { target:__fader, start_alpha:1, alpha:0, > > duration:__duration_fade } ); > > __sequence.addItem( { delay:Number(properties. at timeout) || > > __duration_timeout, func:trace, args:['timeout triggered']} ); > > > > __sequence.start(); > > > > -------------------------------------- > > > > If I execute the above and look at the output, "timeout triggered" will > show > > only once, which is obviously not what I need. > > > > I have even tried adding another step to the sequence that basically > calls > > __sequence.start(), like so: > > > > __sequence.addItem( { taget:__sequence func:start } ); > > > > ... but that did absolutely nothing. > > > > Am I missing something here? I really can't seem to get it to work > > correctly. > > Thanks for your time guys! > > > > Bernardo Kuri > > > > _______________________________________________ > > GoList mailing list > > GoList at goasap.org > > http://goasap.org/mailman/listinfo/golist_goasap.org > > > > _______________________________________________ > GoList mailing list > GoList at goasap.org > http://goasap.org/mailman/listinfo/golist_goasap.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: From donovan at hydrotik.com Thu Feb 12 14:36:48 2009 From: donovan at hydrotik.com (Donovan Adams) Date: Thu, 12 Feb 2009 17:36:48 -0500 Subject: [Golist] HydroSequence Looping Issue Message-ID: <9a86235$3daa5176$4d0961e9$@com> Possible that since you are adding HydroTween instances with a null target the tweens aren't working properly. I'm assuming the __fader is tweening fine though? Make sure you are adding the argument to disable the GC. was in the last snippet I sent. Looks like it got omitted in the code you sent. Still trying to figure out what's going on and it looks like a couple of things. The optimization of HydroTween for Garbage Collection is creating the issue with HydroSequence when sequences need to be reused. Just needs a little hashing out. -------- Original Message -------- > From: "Bernardo Kuri" > Sent: Thursday, February 12, 2009 10:24 AM > To: "Mailing list for the Go ActionScript Animation Platform" > Subject: Re: [Golist] HydroSequence Looping Issue > > Thanks for the suggestion, Donovan.I had to modify your example to fit my > code, and this is what i came up with: > > // start code > __sequence = new Sequence(); > __sequence.addEventListener("START", onSeqEvent, false, 0, true); > __sequence.addEventListener("CYCLE", onSeqEvent, false, 0, true); > __sequence.repeater.cycles = Repeater.INFINITE; > > // The following code resides in another function. As you can see, the > sequence needs to be dynamically created: > > __sequence.addStep(new HydroTween(null, { func:functionOne, args:[whatever] > } )); > __sequence.addStep(new HydroTween(null, { func:functionTwo } )); > __sequence.addStep(new HydroTween(__fader, { start_alpha:1, alpha:0, > duration:__duration_fade } )); > __sequence.addStep(new HydroTween(null, { delay:Number(properties. at timeout) > || __duration_timeout, func:trace, args:['timeout triggered'] } )); > __sequence.start(); > // end code > > The weird thing is that none of the events are being dispatched at all. On > top of that, my "timeout triggered" trace is not showing on my output > anymore. > Is there anything else I can try? > > Thanks a bunch, > > Bernardo Kuri > > > On Thu, Feb 12, 2009 at 1:45 PM, Donovan Adams wrote: > > > It seems there is an issue with the autoGC feature and passing a param into > > HydroSequence. > > > > The reason it's not repeating is that HydroTween is clearing out the memory > > of the tweens in a sequence. > > > > I will have to delve into this a bit deeper, but in the meantime y ou might > > consider using this as an option? > > > > var ht1:HydroTween = new HydroTween(target, {x:300}, 1, 0, > > Quadratic.easeOut, null, null, null, null, null, null, false); > > var ht2:HydroTween = new HydroTween(target, {x:100}, 1, 0, > > Quadratic.easeOut, null, null, null, null, null, null, false); > > > > var seq:Sequence = new Sequence(ht1, ht2); > > seq.repeater.cycles = Repeater.INFINITE; > > seq.start(); > > > > -------- Original Message -------- > > > From: "Bernardo Kuri" > > > Sent: Thursday, February 12, 2009 6:58 AM > > > To: golist at goasap.org > > > Subject: [Golist] HydroSequence Looping Issue > > > > > > Hello fellow GoList members, > > > 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. > > > > > > 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 > > > 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 > > > not actually doing that at all. I tried adding a listener for the > > "CYCLE" > > > event, but that doesn't get triggered either. > > > > > > Here's the relevant portion of the code: > > > > > > -------------------------------------- > > > > > > import com.hydrotik.go.HydroSequence; > > > import org.goasap.managers.Repeater; > > > > > > __sequence = new HydroSequence(); > > > __sequence.repeater.cycles = Repeater.INFINITE; > > > > > > __sequence.addItem( { func:firstFunction, args:[whatever] } ); > > > __sequence.addItem( { func:secondFunction } ); > > > __sequence.addItem( { target:__fader, start_alpha:1, alpha:0, > > > duration:__duration_fade } ); > > > __sequence.addItem( { delay:Number(properties. at timeout) || > > > __duration_timeout, func:trace, args:['timeout triggered']} ); > > > > > > __sequence.start(); > > > > > > -------------------------------------- > > > > > > If I execute the above and look at the output, "timeout triggered" will > > show > > > only once, which is obviously not what I need. > > > > > > I have even tried adding another step to the sequence that basically > > calls > > > __sequence.start(), like so: > > > > > > __sequence.addItem( { taget:__sequence func:start } ); > > > > > > ... but that did absolutely nothing. > > > > > > Am I missing something here? I really can't seem to get it to work > > > correctly. > > > Thanks for your time guys! > > > > > > Bernardo Kuri > > > > > > _______________________________________________ > > > GoList mailing list > > > GoList at goasap.org > > > http://goasap.org/mailman/listinfo/golist_goasap.org > > > > > > > > _______________________________________________ > > GoList mailing list > > GoList at goasap.org > > http://goasap.org/mailman/listinfo/golist_goasap.org > > > > _______________________________________________ > GoList mailing list > GoList at goasap.org > http://goasap.org/mailman/listinfo/golist_goasap.org From support at bernardokuri.com Thu Feb 12 14:49:08 2009 From: support at bernardokuri.com (Bernardo Kuri) Date: Thu, 12 Feb 2009 16:49:08 -0600 Subject: [Golist] HydroSequence Looping Issue In-Reply-To: <9a86235$3daa5176$4d0961e9$@com> References: <9a86235$3daa5176$4d0961e9$@com> Message-ID: Here's my new code: __sequence.addStep(new HydroTween(this, { func:functionOne, args:[whatever] }, 0, 0, null, null, null, null, null, null, null, false )); __sequence.addStep(new HydroTween(this, { func:functionTwo }, 0, 0, null, null, null, null, null, null, null, false )); __sequence.addStep(new HydroTween(__fader, { start_alpha:1, alpha:0, duration:__duration_fade }, 0, 0, null, null, null, null, null, null, null, false )); __sequence.addStep(new HydroTween(this, { delay:Number(properties. at timeout) || __duration_timeout, func:trace, args:['timeout triggered'] }, 0, 0, null, null, null, null, null, null, null, false )); I changed the nulls to point to "this", as well as the "false" in the end of each addStep() call, but I got the same results as before. The __fader Sprite did not work before or after the change, BTW. Hope that helps, Bernardo Kuri On Thu, Feb 12, 2009 at 4:36 PM, Donovan Adams wrote: > Possible that since you are adding HydroTween instances with a null target > the tweens aren't working properly. > > I'm assuming the __fader is tweening fine though? Make sure you are adding > the argument to disable the GC. was in the last snippet I sent. Looks like > it got omitted in the code you sent. > > Still trying to figure out what's going on and it looks like a couple of > things. > > The optimization of HydroTween for Garbage Collection is creating the issue > with HydroSequence when sequences need to be reused. Just needs a little > hashing out. > > > > > > > > -------- Original Message -------- > > From: "Bernardo Kuri" > > Sent: Thursday, February 12, 2009 10:24 AM > > To: "Mailing list for the Go ActionScript Animation Platform" > > > Subject: Re: [Golist] HydroSequence Looping Issue > > > > Thanks for the suggestion, Donovan.I had to modify your example to fit > my > > code, and this is what i came up with: > > > > // start code > > __sequence = new Sequence(); > > __sequence.addEventListener("START", onSeqEvent, false, 0, true); > > __sequence.addEventListener("CYCLE", onSeqEvent, false, 0, true); > > __sequence.repeater.cycles = Repeater.INFINITE; > > > > // The following code resides in another function. As you can see, the > > sequence needs to be dynamically created: > > > > __sequence.addStep(new HydroTween(null, { func:functionOne, > args:[whatever] > > } )); > > __sequence.addStep(new HydroTween(null, { func:functionTwo } )); > > __sequence.addStep(new HydroTween(__fader, { start_alpha:1, alpha:0, > > duration:__duration_fade } )); > > __sequence.addStep(new HydroTween(null, { > delay:Number(properties. at timeout) > > || __duration_timeout, func:trace, args:['timeout triggered'] } )); > > __sequence.start(); > > // end code > > > > The weird thing is that none of the events are being dispatched at all. > On > > top of that, my "timeout triggered" trace is not showing on my output > > anymore. > > Is there anything else I can try? > > > > Thanks a bunch, > > > > Bernardo Kuri > > > > > > On Thu, Feb 12, 2009 at 1:45 PM, Donovan Adams > wrote: > > > > > It seems there is an issue with the autoGC feature and passing a param > into > > > HydroSequence. > > > > > > The reason it's not repeating is that HydroTween is clearing out the > memory > > > of the tweens in a sequence. > > > > > > I will have to delve into this a bit deeper, but in the meantime y ou > might > > > consider using this as an option? > > > > > > var ht1:HydroTween = new HydroTween(target, {x:300}, 1, 0, > > > Quadratic.easeOut, null, null, null, null, null, null, false); > > > var ht2:HydroTween = new HydroTween(target, {x:100}, 1, 0, > > > Quadratic.easeOut, null, null, null, null, null, null, false); > > > > > > var seq:Sequence = new Sequence(ht1, ht2); > > > seq.repeater.cycles = Repeater.INFINITE; > > > seq.start(); > > > > > > -------- Original Message -------- > > > > From: "Bernardo Kuri" > > > > Sent: Thursday, February 12, 2009 6:58 AM > > > > To: golist at goasap.org > > > > Subject: [Golist] HydroSequence Looping Issue > > > > > > > > Hello fellow GoList members, > > > > 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. > > > > > > > > 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 > > > > 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 > > > > not actually doing that at all. I tried adding a listener for the > > > "CYCLE" > > > > event, but that doesn't get triggered either. > > > > > > > > Here's the relevant portion of the code: > > > > > > > > -------------------------------------- > > > > > > > > import com.hydrotik.go.HydroSequence; > > > > import org.goasap.managers.Repeater; > > > > > > > > __sequence = new HydroSequence(); > > > > __sequence.repeater.cycles = Repeater.INFINITE; > > > > > > > > __sequence.addItem( { func:firstFunction, args:[whatever] } ); > > > > __sequence.addItem( { func:secondFunction } ); > > > > __sequence.addItem( { target:__fader, start_alpha:1, alpha:0, > > > > duration:__duration_fade } ); > > > > __sequence.addItem( { delay:Number(properties. at timeout) || > > > > __duration_timeout, func:trace, args:['timeout triggered']} ); > > > > > > > > __sequence.start(); > > > > > > > > -------------------------------------- > > > > > > > > If I execute the above and look at the output, "timeout triggered" > will > > > show > > > > only once, which is obviously not what I need. > > > > > > > > I have even tried adding another step to the sequence that basically > > > calls > > > > __sequence.start(), like so: > > > > > > > > __sequence.addItem( { taget:__sequence func:start } ); > > > > > > > > ... but that did absolutely nothing. > > > > > > > > Am I missing something here? I really can't seem to get it to work > > > > correctly. > > > > Thanks for your time guys! > > > > > > > > Bernardo Kuri > > > > > > > > _______________________________________________ > > > > GoList mailing list > > > > GoList at goasap.org > > > > http://goasap.org/mailman/listinfo/golist_goasap.org > > > > > > > > > > > > _______________________________________________ > > > GoList mailing list > > > GoList at goasap.org > > > http://goasap.org/mailman/listinfo/golist_goasap.org > > > > > > > _______________________________________________ > > GoList mailing list > > GoList at goasap.org > > http://goasap.org/mailman/listinfo/golist_goasap.org > > > > _______________________________________________ > GoList mailing list > GoList at goasap.org > http://goasap.org/mailman/listinfo/golist_goasap.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: From donovan at hydrotik.com Thu Feb 12 14:55:46 2009 From: donovan at hydrotik.com (Donovan Adams) Date: Thu, 12 Feb 2009 17:55:46 -0500 Subject: [Golist] HydroSequence Looping Issue Message-ID: <4422c0f4$440170de$7fc91277$@com> Can you create a new instance of the HydroSequence? Is their a reason you are reusing the same one? Might be better at this point to create a new instance of the sequence as well as populate the props and values and functions? -------- Original Message -------- > From: "Bernardo Kuri" > Sent: Thursday, February 12, 2009 10:49 AM > To: "Mailing list for the Go ActionScript Animation Platform" > Subject: Re: [Golist] HydroSequence Looping Issue > > Here's my new code: > __sequence.addStep(new HydroTween(this, { func:functionOne, args:[whatever] > }, 0, 0, null, null, null, null, null, null, null, false )); > __sequence.addStep(new HydroTween(this, { func:functionTwo }, 0, 0, null, > null, null, null, null, null, null, false )); > __sequence.addStep(new HydroTween(__fader, { start_alpha:1, alpha:0, > duration:__duration_fade }, 0, 0, null, null, null, null, null, null, null, > false )); > __sequence.addStep(new HydroTween(this, { delay:Number(properties. at timeout) > || __duration_timeout, func:trace, args:['timeout triggered'] }, 0, 0, null, > null, null, null, null, null, null, false )); > > I changed the nulls to point to "this", as well as the "false" in the end of > each addStep() call, but I got the same results as before. The __fader > Sprite did not work before or after the change, BTW. > Hope that helps, > > Bernardo Kuri > > > On Thu, Feb 12, 2009 at 4:36 PM, Donovan Adams wrote: > > > Possible that since you are adding HydroTween instances with a null target > > the tweens aren't working properly. > > > > I'm assuming the __fader is tweening fine though? Make sure you are adding > > the argument to disable the GC. was in the last snippet I sent. Looks like > > it got omitted in the code you sent. > > > > Still trying to figure out what's going on and it looks like a couple of > > things. > > > > The optimization of HydroTween for Garbage Collection is creating the issue > > with HydroSequence when sequences need to be reused. Just needs a little > > hashing out. > > > > > > > > > > > > > > > > -------- Original Message -------- > > > From: "Bernardo Kuri" > > > Sent: Thursday, February 12, 2009 10:24 AM > > > To: "Mailing list for the Go ActionScript Animation Platform" > > > > > Subject: Re: [Golist] HydroSequence Looping Issue > > > > > > Thanks for the suggestion, Donovan.I had to modify your example to fit > > my > > > code, and this is what i came up with: > > > > > > // start code > > > __sequence = new Sequence(); > > > __sequence.addEventListener("START", onSeqEvent, false, 0, true); > > > __sequence.addEventListener("CYCLE", onSeqEvent, false, 0, true); > > > __sequence.repeater.cycles = Repeater.INFINITE; > > > > > > // The following code resides in another function. As you can see, the > > > sequence needs to be dynamically created: > > > > > > __sequence.addStep(new HydroTween(null, { func:functionOne, > > args:[whatever] > > > } )); > > > __sequence.addStep(new HydroTween(null, { func:functionTwo } )); > > > __sequence.addStep(new HydroTween(__fader, { start_alpha:1, alpha:0, > > > duration:__duration_fade } )); > > > __sequence.addStep(new HydroTween(null, { > > delay:Number(properties. at timeout) > > > || __duration_timeout, func:trace, args:['timeout triggered'] } )); > > > __sequence.start(); > > > // end code > > > > > > The weird thing is that none of the events are being dispatched at all. > > On > > > top of that, my "timeout triggered" trace is not showing on my output > > > anymore. > > > Is there anything else I can try? > > > > > > Thanks a bunch, > > > > > > Bernardo Kuri > > > > > > > > > On Thu, Feb 12, 2009 at 1:45 PM, Donovan Adams > > wrote: > > > > > > > It seems there is an issue with the autoGC feature and passing a param > > into > > > > HydroSequence. > > > > > > > > The reason it's not repeating is that HydroTween is clearing out the > > memory > > > > of the tweens in a sequence. > > > > > > > > I will have to delve into this a bit deeper, but in the meantime y ou > > might > > > > consider using this as an option? > > > > > > > > var ht1:HydroTween = new HydroTween(target, {x:300}, 1, 0, > > > > Quadratic.easeOut, null, null, null, null, null, null, false); > > > > var ht2:HydroTween = new HydroTween(target, {x:100}, 1, 0, > > > > Quadratic.easeOut, null, null, null, null, null, null, false); > > > > > > > > var seq:Sequence = new Sequence(ht1, ht2); > > > > seq.repeater.cycles = Repeater.INFINITE; > > > > seq.start(); > > > > > > > > -------- Original Message -------- > > > > > From: "Bernardo Kuri" > > > > > Sent: Thursday, February 12, 2009 6:58 AM > > > > > To: golist at goasap.org > > > > > Subject: [Golist] HydroSequence Looping Issue > > > > > > > > > > Hello fellow GoList members, > > > > > 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. > > > > > > > > > > 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 > > > > > 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 > > > > > not actually doing that at all. I tried adding a listener for the > > > > "CYCLE" > > > > > event, but that doesn't get triggered either. > > > > > > > > > > Here's the relevant portion of the code: > > > > > > > > > > -------------------------------------- > > > > > > > > > > import com.hydrotik.go.HydroSequence; > > > > > import org.goasap.managers.Repeater; > > > > > > > > > > __sequence = new HydroSequence(); > > > > > __sequence.repeater.cycles = Repeater.INFINITE; > > > > > > > > > > __sequence.addItem( { func:firstFunction, args:[whatever] } ); > > > > > __sequence.addItem( { func:secondFunction } ); > > > > > __sequence.addItem( { target:__fader, start_alpha:1, alpha:0, > > > > > duration:__duration_fade } ); > > > > > __sequence.addItem( { delay:Number(properties. at timeout) || > > > > > __duration_timeout, func:trace, args:['timeout triggered']} ); > > > > > > > > > > __sequence.start(); > > > > > > > > > > -------------------------------------- > > > > > > > > > > If I execute the above and look at the output, "timeout triggered" > > will > > > > show > > > > > only once, which is obviously not what I need. > > > > > > > > > > I have even tried adding another step to the sequence that basically > > > > calls > > > > > __sequence.start(), like so: > > > > > > > > > > __sequence.addItem( { taget:__sequence func:start } ); > > > > > > > > > > ... but that did absolutely nothing. > > > > > > > > > > Am I missing something here? I really can't seem to get it to work > > > > > correctly. > > > > > Thanks for your time guys! > > > > > > > > > > Bernardo Kuri > > > > > > > > > > _______________________________________________ > > > > > GoList mailing list > > > > > GoList at goasap.org > > > > > http://goasap.org/mailman/listinfo/golist_goasap.org > > > > > > > > > > > > > > > > _______________________________________________ > > > > GoList mailing list > > > > GoList at goasap.org > > > > http://goasap.org/mailman/listinfo/golist_goasap.org > > > > > > > > > > _______________________________________________ > > > GoList mailing list > > > GoList at goasap.org > > > http://goasap.org/mailman/listinfo/golist_goasap.org > > > > > > > > _______________________________________________ > > GoList mailing list > > GoList at goasap.org > > http://goasap.org/mailman/listinfo/golist_goasap.org > > > > _______________________________________________ > GoList mailing list > GoList at goasap.org > http://goasap.org/mailman/listinfo/golist_goasap.org From support at bernardokuri.com Thu Feb 12 15:11:22 2009 From: support at bernardokuri.com (Bernardo Kuri) Date: Thu, 12 Feb 2009 17:11:22 -0600 Subject: [Golist] HydroSequence Looping Issue In-Reply-To: <4422c0f4$440170de$7fc91277$@com> References: <4422c0f4$440170de$7fc91277$@com> Message-ID: Here's the thing: I'm creating a banner rotator, which basically does the following: 1. reads an XML file 2. creates banner(s) on the fly based on the XML parameters 3. adds the banner(s) to a queue 4. the sequence rotates the item(s) on the queue indefinitely So I'm not really reusing a sequence; rather I initialize the sequence object on my init() function, and then call my addBanner() function, which adds the addStep() parameters to said sequencer object. I then call __sequence.start() once all the banners have been parsed/added to the queue. Does this clear it up a bit? Bernardo Kuri On Thu, Feb 12, 2009 at 4:55 PM, Donovan Adams wrote: > Can you create a new instance of the HydroSequence? > > Is their a reason you are reusing the same one? > > Might be better at this point to create a new instance of the sequence as > well as populate the props and values and functions? > > -------- Original Message -------- > > From: "Bernardo Kuri" > > Sent: Thursday, February 12, 2009 10:49 AM > > To: "Mailing list for the Go ActionScript Animation Platform" > > > Subject: Re: [Golist] HydroSequence Looping Issue > > > > Here's my new code: > > __sequence.addStep(new HydroTween(this, { func:functionOne, > args:[whatever] > > }, 0, 0, null, null, null, null, null, null, null, false )); > > __sequence.addStep(new HydroTween(this, { func:functionTwo }, 0, 0, > null, > > null, null, null, null, null, null, false )); > > __sequence.addStep(new HydroTween(__fader, { start_alpha:1, alpha:0, > > duration:__duration_fade }, 0, 0, null, null, null, null, null, null, > null, > > false )); > > __sequence.addStep(new HydroTween(this, { > delay:Number(properties. at timeout) > > || __duration_timeout, func:trace, args:['timeout triggered'] }, 0, 0, > null, > > null, null, null, null, null, null, false )); > > > > I changed the nulls to point to "this", as well as the "false" in the end > of > > each addStep() call, but I got the same results as before. The __fader > > Sprite did not work before or after the change, BTW. > > Hope that helps, > > > > Bernardo Kuri > > > > > > On Thu, Feb 12, 2009 at 4:36 PM, Donovan Adams > wrote: > > > > > Possible that since you are adding HydroTween instances with a null > target > > > the tweens aren't working properly. > > > > > > I'm assuming the __fader is tweening fine though? Make sure you are > adding > > > the argument to disable the GC. was in the last snippet I sent. Looks > like > > > it got omitted in the code you sent. > > > > > > Still trying to figure out what's going on and it looks like a couple > of > > > things. > > > > > > The optimization of HydroTween for Garbage Collection is creating the > issue > > > with HydroSequence when sequences need to be reused. Just needs a > little > > > hashing out. > > > > > > > > > > > > > > > > > > > > > > > > -------- Original Message -------- > > > > From: "Bernardo Kuri" > > > > Sent: Thursday, February 12, 2009 10:24 AM > > > > To: "Mailing list for the Go ActionScript Animation Platform" > > > > > > > Subject: Re: [Golist] HydroSequence Looping Issue > > > > > > > > Thanks for the suggestion, Donovan.I had to modify your example to > fit > > > my > > > > code, and this is what i came up with: > > > > > > > > // start code > > > > __sequence = new Sequence(); > > > > __sequence.addEventListener("START", onSeqEvent, false, 0, true); > > > > __sequence.addEventListener("CYCLE", onSeqEvent, false, 0, true); > > > > __sequence.repeater.cycles = Repeater.INFINITE; > > > > > > > > // The following code resides in another function. As you can see, > the > > > > sequence needs to be dynamically created: > > > > > > > > __sequence.addStep(new HydroTween(null, { func:functionOne, > > > args:[whatever] > > > > } )); > > > > __sequence.addStep(new HydroTween(null, { func:functionTwo } )); > > > > __sequence.addStep(new HydroTween(__fader, { start_alpha:1, alpha:0, > > > > duration:__duration_fade } )); > > > > __sequence.addStep(new HydroTween(null, { > > > delay:Number(properties. at timeout) > > > > || __duration_timeout, func:trace, args:['timeout triggered'] } )); > > > > __sequence.start(); > > > > // end code > > > > > > > > The weird thing is that none of the events are being dispatched at > all. > > > On > > > > top of that, my "timeout triggered" trace is not showing on my > output > > > > anymore. > > > > Is there anything else I can try? > > > > > > > > Thanks a bunch, > > > > > > > > Bernardo Kuri > > > > > > > > > > > > On Thu, Feb 12, 2009 at 1:45 PM, Donovan Adams > > > > wrote: > > > > > > > > > It seems there is an issue with the autoGC feature and passing a > param > > > into > > > > > HydroSequence. > > > > > > > > > > The reason it's not repeating is that HydroTween is clearing out > the > > > memory > > > > > of the tweens in a sequence. > > > > > > > > > > I will have to delve into this a bit deeper, but in the meantime y > ou > > > might > > > > > consider using this as an option? > > > > > > > > > > var ht1:HydroTween = new HydroTween(target, {x:300}, 1, 0, > > > > > Quadratic.easeOut, null, null, null, null, null, null, false); > > > > > var ht2:HydroTween = new HydroTween(target, {x:100}, 1, 0, > > > > > Quadratic.easeOut, null, null, null, null, null, null, false); > > > > > > > > > > var seq:Sequence = new Sequence(ht1, ht2); > > > > > seq.repeater.cycles = Repeater.INFINITE; > > > > > seq.start(); > > > > > > > > > > -------- Original Message -------- > > > > > > From: "Bernardo Kuri" > > > > > > Sent: Thursday, February 12, 2009 6:58 AM > > > > > > To: golist at goasap.org > > > > > > Subject: [Golist] HydroSequence Looping Issue > > > > > > > > > > > > Hello fellow GoList members, > > > > > > 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. > > > > > > > > > > > > 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 > > > > > > 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 > > > > > > not actually doing that at all. I tried adding a listener for > the > > > > > "CYCLE" > > > > > > event, but that doesn't get triggered either. > > > > > > > > > > > > Here's the relevant portion of the code: > > > > > > > > > > > > -------------------------------------- > > > > > > > > > > > > import com.hydrotik.go.HydroSequence; > > > > > > import org.goasap.managers.Repeater; > > > > > > > > > > > > __sequence = new HydroSequence(); > > > > > > __sequence.repeater.cycles = Repeater.INFINITE; > > > > > > > > > > > > __sequence.addItem( { func:firstFunction, args:[whatever] } ); > > > > > > __sequence.addItem( { func:secondFunction } ); > > > > > > __sequence.addItem( { target:__fader, start_alpha:1, alpha:0, > > > > > > duration:__duration_fade } ); > > > > > > __sequence.addItem( { delay:Number(properties. at timeout) || > > > > > > __duration_timeout, func:trace, args:['timeout triggered']} ); > > > > > > > > > > > > __sequence.start(); > > > > > > > > > > > > -------------------------------------- > > > > > > > > > > > > If I execute the above and look at the output, "timeout > triggered" > > > will > > > > > show > > > > > > only once, which is obviously not what I need. > > > > > > > > > > > > I have even tried adding another step to the sequence that > basically > > > > > calls > > > > > > __sequence.start(), like so: > > > > > > > > > > > > __sequence.addItem( { taget:__sequence func:start } ); > > > > > > > > > > > > ... but that did absolutely nothing. > > > > > > > > > > > > Am I missing something here? I really can't seem to get it to > work > > > > > > correctly. > > > > > > Thanks for your time guys! > > > > > > > > > > > > Bernardo Kuri > > > > > > > > > > > > _______________________________________________ > > > > > > GoList mailing list > > > > > > GoList at goasap.org > > > > > > http://goasap.org/mailman/listinfo/golist_goasap.org > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > GoList mailing list > > > > > GoList at goasap.org > > > > > http://goasap.org/mailman/listinfo/golist_goasap.org > > > > > > > > > > > > > _______________________________________________ > > > > GoList mailing list > > > > GoList at goasap.org > > > > http://goasap.org/mailman/listinfo/golist_goasap.org > > > > > > > > > > > > _______________________________________________ > > > GoList mailing list > > > GoList at goasap.org > > > http://goasap.org/mailman/listinfo/golist_goasap.org > > > > > > > _______________________________________________ > > GoList mailing list > > GoList at goasap.org > > http://goasap.org/mailman/listinfo/golist_goasap.org > > > > _______________________________________________ > GoList mailing list > GoList at goasap.org > http://goasap.org/mailman/listinfo/golist_goasap.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: From support at bernardokuri.com Thu Feb 12 17:25:56 2009 From: support at bernardokuri.com (Bernardo Kuri) Date: Thu, 12 Feb 2009 19:25:56 -0600 Subject: [Golist] HydroSequence Looping Issue In-Reply-To: References: <4422c0f4$440170de$7fc91277$@com> Message-ID: I would just like to add that __sequence.steps.length does indeed return the correct number of steps, so I am really at a loss as to why __sequence.start() doesn't do anything at all.Any extra help would be truly appreciated! Bernardo Kuri On Thu, Feb 12, 2009 at 5:11 PM, Bernardo Kuri wrote: > Here's the thing: I'm creating a banner rotator, which basically does the > following: > > 1. reads an XML file > 2. creates banner(s) on the fly based on the XML parameters > 3. adds the banner(s) to a queue > 4. the sequence rotates the item(s) on the queue indefinitely > > So I'm not really reusing a sequence; rather I initialize the sequence > object on my init() function, and then call my addBanner() function, which > adds the addStep() parameters to said sequencer object. I then call > __sequence.start() once all the banners have been parsed/added to the queue. > > Does this clear it up a bit? > > Bernardo Kuri > > > > On Thu, Feb 12, 2009 at 4:55 PM, Donovan Adams wrote: > >> Can you create a new instance of the HydroSequence? >> >> Is their a reason you are reusing the same one? >> >> Might be better at this point to create a new instance of the sequence as >> well as populate the props and values and functions? >> >> -------- Original Message -------- >> > From: "Bernardo Kuri" >> > Sent: Thursday, February 12, 2009 10:49 AM >> > To: "Mailing list for the Go ActionScript Animation Platform" >> >> > Subject: Re: [Golist] HydroSequence Looping Issue >> > >> > Here's my new code: >> > __sequence.addStep(new HydroTween(this, { func:functionOne, >> args:[whatever] >> > }, 0, 0, null, null, null, null, null, null, null, false )); >> > __sequence.addStep(new HydroTween(this, { func:functionTwo }, 0, 0, >> null, >> > null, null, null, null, null, null, false )); >> > __sequence.addStep(new HydroTween(__fader, { start_alpha:1, alpha:0, >> > duration:__duration_fade }, 0, 0, null, null, null, null, null, null, >> null, >> > false )); >> > __sequence.addStep(new HydroTween(this, { >> delay:Number(properties. at timeout) >> > || __duration_timeout, func:trace, args:['timeout triggered'] }, 0, 0, >> null, >> > null, null, null, null, null, null, false )); >> > >> > I changed the nulls to point to "this", as well as the "false" in the >> end >> of >> > each addStep() call, but I got the same results as before. The __fader >> > Sprite did not work before or after the change, BTW. >> > Hope that helps, >> > >> > Bernardo Kuri >> > >> > >> > On Thu, Feb 12, 2009 at 4:36 PM, Donovan Adams >> wrote: >> > >> > > Possible that since you are adding HydroTween instances with a null >> target >> > > the tweens aren't working properly. >> > > >> > > I'm assuming the __fader is tweening fine though? Make sure you are >> adding >> > > the argument to disable the GC. was in the last snippet I sent. Looks >> like >> > > it got omitted in the code you sent. >> > > >> > > Still trying to figure out what's going on and it looks like a couple >> of >> > > things. >> > > >> > > The optimization of HydroTween for Garbage Collection is creating the >> issue >> > > with HydroSequence when sequences need to be reused. Just needs a >> little >> > > hashing out. >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > -------- Original Message -------- >> > > > From: "Bernardo Kuri" >> > > > Sent: Thursday, February 12, 2009 10:24 AM >> > > > To: "Mailing list for the Go ActionScript Animation Platform" >> > > >> > > > Subject: Re: [Golist] HydroSequence Looping Issue >> > > > >> > > > Thanks for the suggestion, Donovan.I had to modify your example to >> fit >> > > my >> > > > code, and this is what i came up with: >> > > > >> > > > // start code >> > > > __sequence = new Sequence(); >> > > > __sequence.addEventListener("START", onSeqEvent, false, 0, true); >> > > > __sequence.addEventListener("CYCLE", onSeqEvent, false, 0, true); >> > > > __sequence.repeater.cycles = Repeater.INFINITE; >> > > > >> > > > // The following code resides in another function. As you can see, >> the >> > > > sequence needs to be dynamically created: >> > > > >> > > > __sequence.addStep(new HydroTween(null, { func:functionOne, >> > > args:[whatever] >> > > > } )); >> > > > __sequence.addStep(new HydroTween(null, { func:functionTwo } )); >> > > > __sequence.addStep(new HydroTween(__fader, { start_alpha:1, alpha:0, >> > > > duration:__duration_fade } )); >> > > > __sequence.addStep(new HydroTween(null, { >> > > delay:Number(properties. at timeout) >> > > > || __duration_timeout, func:trace, args:['timeout triggered'] } )); >> > > > __sequence.start(); >> > > > // end code >> > > > >> > > > The weird thing is that none of the events are being dispatched at >> all. >> > > On >> > > > top of that, my "timeout triggered" trace is not showing on my >> output >> > > > anymore. >> > > > Is there anything else I can try? >> > > > >> > > > Thanks a bunch, >> > > > >> > > > Bernardo Kuri >> > > > >> > > > >> > > > On Thu, Feb 12, 2009 at 1:45 PM, Donovan Adams >> >> > > wrote: >> > > > >> > > > > It seems there is an issue with the autoGC feature and passing a >> param >> > > into >> > > > > HydroSequence. >> > > > > >> > > > > The reason it's not repeating is that HydroTween is clearing out >> the >> > > memory >> > > > > of the tweens in a sequence. >> > > > > >> > > > > I will have to delve into this a bit deeper, but in the meantime y >> ou >> > > might >> > > > > consider using this as an option? >> > > > > >> > > > > var ht1:HydroTween = new HydroTween(target, {x:300}, 1, 0, >> > > > > Quadratic.easeOut, null, null, null, null, null, null, false); >> > > > > var ht2:HydroTween = new HydroTween(target, {x:100}, 1, 0, >> > > > > Quadratic.easeOut, null, null, null, null, null, null, false); >> > > > > >> > > > > var seq:Sequence = new Sequence(ht1, ht2); >> > > > > seq.repeater.cycles = Repeater.INFINITE; >> > > > > seq.start(); >> > > > > >> > > > > -------- Original Message -------- >> > > > > > From: "Bernardo Kuri" >> > > > > > Sent: Thursday, February 12, 2009 6:58 AM >> > > > > > To: golist at goasap.org >> > > > > > Subject: [Golist] HydroSequence Looping Issue >> > > > > > >> > > > > > Hello fellow GoList members, >> > > > > > 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. >> > > > > > >> > > > > > 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 >> > > > > > 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 >> > > > > > not actually doing that at all. I tried adding a listener for >> the >> > > > > "CYCLE" >> > > > > > event, but that doesn't get triggered either. >> > > > > > >> > > > > > Here's the relevant portion of the code: >> > > > > > >> > > > > > -------------------------------------- >> > > > > > >> > > > > > import com.hydrotik.go.HydroSequence; >> > > > > > import org.goasap.managers.Repeater; >> > > > > > >> > > > > > __sequence = new HydroSequence(); >> > > > > > __sequence.repeater.cycles = Repeater.INFINITE; >> > > > > > >> > > > > > __sequence.addItem( { func:firstFunction, args:[whatever] } ); >> > > > > > __sequence.addItem( { func:secondFunction } ); >> > > > > > __sequence.addItem( { target:__fader, start_alpha:1, alpha:0, >> > > > > > duration:__duration_fade } ); >> > > > > > __sequence.addItem( { delay:Number(properties. at timeout) || >> > > > > > __duration_timeout, func:trace, args:['timeout triggered']} ); >> > > > > > >> > > > > > __sequence.start(); >> > > > > > >> > > > > > -------------------------------------- >> > > > > > >> > > > > > If I execute the above and look at the output, "timeout >> triggered" >> > > will >> > > > > show >> > > > > > only once, which is obviously not what I need. >> > > > > > >> > > > > > I have even tried adding another step to the sequence that >> basically >> > > > > calls >> > > > > > __sequence.start(), like so: >> > > > > > >> > > > > > __sequence.addItem( { taget:__sequence func:start } ); >> > > > > > >> > > > > > ... but that did absolutely nothing. >> > > > > > >> > > > > > Am I missing something here? I really can't seem to get it to >> work >> > > > > > correctly. >> > > > > > Thanks for your time guys! >> > > > > > >> > > > > > Bernardo Kuri >> > > > > > >> > > > > > _______________________________________________ >> > > > > > GoList mailing list >> > > > > > GoList at goasap.org >> > > > > > http://goasap.org/mailman/listinfo/golist_goasap.org >> > > > > >> > > > > >> > > > > >> > > > > _______________________________________________ >> > > > > GoList mailing list >> > > > > GoList at goasap.org >> > > > > http://goasap.org/mailman/listinfo/golist_goasap.org >> > > > > >> > > > >> > > > _______________________________________________ >> > > > GoList mailing list >> > > > GoList at goasap.org >> > > > http://goasap.org/mailman/listinfo/golist_goasap.org >> > > >> > > >> > > >> > > _______________________________________________ >> > > GoList mailing list >> > > GoList at goasap.org >> > > http://goasap.org/mailman/listinfo/golist_goasap.org >> > > >> > >> > _______________________________________________ >> > GoList mailing list >> > GoList at goasap.org >> > http://goasap.org/mailman/listinfo/golist_goasap.org >> >> >> >> _______________________________________________ >> GoList mailing list >> GoList at goasap.org >> http://goasap.org/mailman/listinfo/golist_goasap.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From donovan at hydrotik.com Fri Feb 13 07:11:49 2009 From: donovan at hydrotik.com (Donovan Adams) Date: Fri, 13 Feb 2009 10:11:49 -0500 Subject: [Golist] HydroSequence Looping Issue Message-ID: <4aabcc89$8599b79$e5fc190$@com> Send me your code offline. Should be an easy workaround that will get this going will i clear up the autoGC issue. donovan[((@))]hydrotik(.dot.)com -------- Original Message -------- > From: "Bernardo Kuri" > Sent: Thursday, February 12, 2009 1:26 PM > To: "Mailing list for the Go ActionScript Animation Platform" > Subject: Re: [Golist] HydroSequence Looping Issue > > I would just like to add that __sequence.steps.length does indeed return the > correct number of steps, so I am really at a loss as to why > __sequence.start() doesn't do anything at all.Any extra help would be truly > appreciated! > Bernardo Kuri > > > On Thu, Feb 12, 2009 at 5:11 PM, Bernardo Kuri wrote: > > > Here's the thing: I'm creating a banner rotator, which basically does the > > following: > > > > 1. reads an XML file > > 2. creates banner(s) on the fly based on the XML parameters > > 3. adds the banner(s) to a queue > > 4. the sequence rotates the item(s) on the queue indefinitely > > > > So I'm not really reusing a sequence; rather I initialize the sequence > > object on my init() function, and then call my addBanner() function, which > > adds the addStep() parameters to said sequencer object. I then call > > __sequence.start() once all the banners have been parsed/added to the queue. > > > > Does this clear it up a bit? > > > > Bernardo Kuri > > > > > > > > On Thu, Feb 12, 2009 at 4:55 PM, Donovan Adams wrote: > > > >> Can you create a new instance of the HydroSequence? > >> > >> Is their a reason you are reusing the same one? > >> > >> Might be better at this point to create a new instance of the sequence as > >> well as populate the props and values and functions? > >> > >> -------- Original Message -------- > >> > From: "Bernardo Kuri" > >> > Sent: Thursday, February 12, 2009 10:49 AM > >> > To: "Mailing list for the Go ActionScript Animation Platform" > >> > >> > Subject: Re: [Golist] HydroSequence Looping Issue > >> > > >> > Here's my new code: > >> > __sequence.addStep(new HydroTween(this, { func:functionOne, > >> args:[whatever] > >> > }, 0, 0, null, null, null, null, null, null, null, false )); > >> > __sequence.addStep(new HydroTween(this, { func:functionTwo }, 0, 0, > >> null, > >> > null, null, null, null, null, null, false )); > >> > __sequence.addStep(new HydroTween(__fader, { start_alpha:1, alpha:0, > >> > duration:__duration_fade }, 0, 0, null, null, null, null, null, null, > >> null, > >> > false )); > >> > __sequence.addStep(new HydroTween(this, { > >> delay:Number(properties. at timeout) > >> > || __duration_timeout, func:trace, args:['timeout triggered'] }, 0, 0, > >> null, > >> > null, null, null, null, null, null, false )); > >> > > >> > I changed the nulls to point to "this", as well as the "false" in the > >> end > >> of > >> > each addStep() call, but I got the same results as before. The __fader > >> > Sprite did not work before or after the change, BTW. > >> > Hope that helps, > >> > > >> > Bernardo Kuri > >> > > >> > > >> > On Thu, Feb 12, 2009 at 4:36 PM, Donovan Adams > >> wrote: > >> > > >> > > Possible that since you are adding HydroTween instances with a null > >> target > >> > > the tweens aren't working properly. > >> > > > >> > > I'm assuming the __fader is tweening fine though? Make sure you are > >> adding > >> > > the argument to disable the GC. was in the last snippet I sent. Looks > >> like > >> > > it got omitted in the code you sent. > >> > > > >> > > Still trying to figure out what's going on and it looks like a couple > >> of > >> > > things. > >> > > > >> > > The optimization of HydroTween for Garbage Collection is creating the > >> issue > >> > > with HydroSequence when sequences need to be reused. Just needs a > >> little > >> > > hashing out. > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > -------- Original Message -------- > >> > > > From: "Bernardo Kuri" > >> > > > Sent: Thursday, February 12, 2009 10:24 AM > >> > > > To: "Mailing list for the Go ActionScript Animation Platform" > >> > > > >> > > > Subject: Re: [Golist] HydroSequence Looping Issue > >> > > > > >> > > > Thanks for the suggestion, Donovan.I had to modify your example to > >> fit > >> > > my > >> > > > code, and this is what i came up with: > >> > > > > >> > > > // start code > >> > > > __sequence = new Sequence(); > >> > > > __sequence.addEventListener("START", onSeqEvent, false, 0, true); > >> > > > __sequence.addEventListener("CYCLE", onSeqEvent, false, 0, true); > >> > > > __sequence.repeater.cycles = Repeater.INFINITE; > >> > > > > >> > > > // The following code resides in another function. As you can see, > >> the > >> > > > sequence needs to be dynamically created: > >> > > > > >> > > > __sequence.addStep(new HydroTween(null, { func:functionOne, > >> > > args:[whatever] > >> > > > } )); > >> > > > __sequence.addStep(new HydroTween(null, { func:functionTwo } )); > >> > > > __sequence.addStep(new HydroTween(__fader, { start_alpha:1, alpha:0, > >> > > > duration:__duration_fade } )); > >> > > > __sequence.addStep(new HydroTween(null, { > >> > > delay:Number(properties. at timeout) > >> > > > || __duration_timeout, func:trace, args:['timeout triggered'] } )); > >> > > > __sequence.start(); > >> > > > // end code > >> > > > > >> > > > The weird thing is that none of the events are being dispatched at > >> all. > >> > > On > >> > > > top of that, my "timeout triggered" trace is not showing on my > >> output > >> > > > anymore. > >> > > > Is there anything else I can try? > >> > > > > >> > > > Thanks a bunch, > >> > > > > >> > > > Bernardo Kuri > >> > > > > >> > > > > >> > > > On Thu, Feb 12, 2009 at 1:45 PM, Donovan Adams > >> > >> > > wrote: > >> > > > > >> > > > > It seems there is an issue with the autoGC feature and passing a > >> param > >> > > into > >> > > > > HydroSequence. > >> > > > > > >> > > > > The reason it's not repeating is that HydroTween is clearing out > >> the > >> > > memory > >> > > > > of the tweens in a sequence. > >> > > > > > >> > > > > I will have to delve into this a bit deeper, but in the meantime y > >> ou > >> > > might > >> > > > > consider using this as an option? > >> > > > > > >> > > > > var ht1:HydroTween = new HydroTween(target, {x:300}, 1, 0, > >> > > > > Quadratic.easeOut, null, null, null, null, null, null, false); > >> > > > > var ht2:HydroTween = new HydroTween(target, {x:100}, 1, 0, > >> > > > > Quadratic.easeOut, null, null, null, null, null, null, false); > >> > > > > > >> > > > > var seq:Sequence = new Sequence(ht1, ht2); > >> > > > > seq.repeater.cycles = Repeater.INFINITE; > >> > > > > seq.start(); > >> > > > > > >> > > > > -------- Original Message -------- > >> > > > > > From: "Bernardo Kuri" > >> > > > > > Sent: Thursday, February 12, 2009 6:58 AM > >> > > > > > To: golist at goasap.org > >> > > > > > Subject: [Golist] HydroSequence Looping Issue > >> > > > > > > >> > > > > > Hello fellow GoList members, > >> > > > > > 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. > >> > > > > > > >> > > > > > 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 > >> > > > > > 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 > >> > > > > > not actually doing that at all. I tried adding a listener for > >> the > >> > > > > "CYCLE" > >> > > > > > event, but that doesn't get triggered either. > >> > > > > > > >> > > > > > Here's the relevant portion of the code: > >> > > > > > > >> > > > > > -------------------------------------- > >> > > > > > > >> > > > > > import com.hydrotik.go.HydroSequence; > >> > > > > > import org.goasap.managers.Repeater; > >> > > > > > > >> > > > > > __sequence = new HydroSequence(); > >> > > > > > __sequence.repeater.cycles = Repeater.INFINITE; > >> > > > > > > >> > > > > > __sequence.addItem( { func:firstFunction, args:[whatever] } ); > >> > > > > > __sequence.addItem( { func:secondFunction } ); > >> > > > > > __sequence.addItem( { target:__fader, start_alpha:1, alpha:0, > >> > > > > > duration:__duration_fade } ); > >> > > > > > __sequence.addItem( { delay:Number(properties. at timeout) || > >> > > > > > __duration_timeout, func:trace, args:['timeout triggered']} ); > >> > > > > > > >> > > > > > __sequence.start(); > >> > > > > > > >> > > > > > -------------------------------------- > >> > > > > > > >> > > > > > If I execute the above and look at the output, "timeout > >> triggered" > >> > > will > >> > > > > show > >> > > > > > only once, which is obviously not what I need. > >> > > > > > > >> > > > > > I have even tried adding another step to the sequence that > >> basically > >> > > > > calls > >> > > > > > __sequence.start(), like so: > >> > > > > > > >> > > > > > __sequence.addItem( { taget:__sequence func:start } ); > >> > > > > > > >> > > > > > ... but that did absolutely nothing. > >> > > > > > > >> > > > > > Am I missing something here? I really can't seem to get it to > >> work > >> > > > > > correctly. > >> > > > > > Thanks for your time guys! > >> > > > > > > >> > > > > > Bernardo Kuri > >> > > > > > > >> > > > > > _______________________________________________ > >> > > > > > GoList mailing list > >> > > > > > GoList at goasap.org > >> > > > > > http://goasap.org/mailman/listinfo/golist_goasap.org > >> > > > > > >> > > > > > >> > > > > > >> > > > > _______________________________________________ > >> > > > > GoList mailing list > >> > > > > GoList at goasap.org > >> > > > > http://goasap.org/mailman/listinfo/golist_goasap.org > >> > > > > > >> > > > > >> > > > _______________________________________________ > >> > > > GoList mailing list > >> > > > GoList at goasap.org > >> > > > http://goasap.org/mailman/listinfo/golist_goasap.org > >> > > > >> > > > >> > > > >> > > _______________________________________________ > >> > > GoList mailing list > >> > > GoList at goasap.org > >> > > http://goasap.org/mailman/listinfo/golist_goasap.org > >> > > > >> > > >> > _______________________________________________ > >> > GoList mailing list > >> > GoList at goasap.org > >> > http://goasap.org/mailman/listinfo/golist_goasap.org > >> > >> > >> > >> _______________________________________________ > >> GoList mailing list > >> GoList at goasap.org > >> http://goasap.org/mailman/listinfo/golist_goasap.org > >> > > > > > > _______________________________________________ > GoList mailing list > GoList at goasap.org > http://goasap.org/mailman/listinfo/golist_goasap.org From newsl at analogdesign.ch Mon Feb 16 06:12:53 2009 From: newsl at analogdesign.ch (analogdesign) Date: Mon, 16 Feb 2009 15:12:53 +0100 Subject: [Golist] HydroSequence Looping Issue In-Reply-To: References: <6CDCB98EFE31584A9449991A5E524EBB5707CFB01F@MAIL113.mail.lan> <6CDCB98EFE31584A9449991A5E524EBB5707CFB024@MAIL113.mail.lan> Message-ID: <003301c99040$ab42acb0$01c80610$@ch> Hi there ;) There has been sometime for my previous post ;) I?ve recently updated to the latest version of Go and Hydrotween, congratulations guys for your work. Go is performing extremely great as far as I can see in the Flex profiler ;) I?ve a point though regarding Hydrotween, Donovan I think that they?ve been a typo in the latest version of Hydrotween in the repository: package com.hydrotik.go { public class PapervisionTween extends LinearGo { I think that in line: 44, 56, 62 if (_state == STOPPED) should be: if (_state == PlayStates.STOPPED) Please let me know. I wish a nice week to everybody on this list ;) Best Regards Cedric Madelaine (aka maddec) Interactive Architect & Creator Adobe Flash/Flex/AIR Specialist since 1998 Media & Interaction Designer UAS ---------------------------------------------------- http://analogdesign.ch http://analogdesign.ch/blog ---------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From donovan at hydrotik.com Mon Feb 16 19:22:42 2009 From: donovan at hydrotik.com (donovan at hydrotik.com) Date: Mon, 16 Feb 2009 22:22:42 -0500 Subject: [Golist] HydroSequence Looping Issue In-Reply-To: <003301c99040$ab42acb0$01c80610$@ch> Message-ID: Yep that would be a typo, I?ll update the svn tomorrow night from my latest at work. On 2/16/09 9:12 AM, "analogdesign" wrote: > Hi there ;) > > There has been sometime for my previous post ;) > > I?ve recently updated to the latest version of Go and Hydrotween, > congratulations guys for your work. Go is performing extremely great as far as > I can see in the Flex profiler ;) > > I?ve a point though regarding Hydrotween, Donovan I think that they?ve been a > typo in the latest version of Hydrotween in the repository: > > package com.hydrotik.go { > > public class PapervisionTween extends LinearGo { > > I think that in line: 44, 56, 62 > > ?if (_state == STOPPED) > > should be:? if (_state == PlayStates.STOPPED) > > Please let me know. > > I wish a nice week to everybody on this list ;) > > > Best Regards > > > Cedric Madelaine (aka maddec) > > Interactive Architect & Creator > Adobe Flash/Flex/AIR Specialist since 1998 > Media & Interaction Designer UAS > ---------------------------------------------------- > http://analogdesign.ch > http://analogdesign.ch/blog > ---------------------------------------------------- > > > _______________________________________________ > GoList mailing list > GoList at goasap.org > http://goasap.org/mailman/listinfo/golist_goasap.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From culpjonathan at hotmail.com Mon Feb 23 13:12:49 2009 From: culpjonathan at hotmail.com (Jonathan Culp) Date: Mon, 23 Feb 2009 21:12:49 +0000 Subject: [Golist] Suggestions Message-ID: Hi everybody, I'm sorry if this has already been written about or discussed before. I just joined the list, so I don't have anyway of telling. I've been following GO off and on for while. When I downloaded the source and was really impressed with the modularity and clarity of thought that it was created with. However, I kept waiting for someone to write the perfect tweening class before I took used it on a commercial project. Mostly what I was waiting for was for someone to write a tween and tween sequence that could be easily reversed at any point. Long story short, I got some free time at work today and wanted to take a look at what would be involved in "rolling my own" tween class. Reversing an sequence was something I used to do in Fuse all the time, but havn't seen implemented (well) in a Tweening package since then. I don't mean to trivialize the difficulty involved with doing that. But in recent years I've had to resort to timeline based animations, in order to match the motion studies I get from designers at work, which often contain long or many stepped animation sequences. (I really hate the timeline) Having taken a look at the source code I was expecting to find some kind of support for this but it doesnt appear to be there. I know that repeater instances can be used to play an animation backwards, but it seems, only once its finished. In order for me to add immediate reverseable animation support, it looks like I would have to subclass LinearGo, Playable Base, and SequenceBase in order to make some heavy modifications to the behavior. Doing so would, I feel break the spirit of modularity and extenseability thats at the core of the GOEngine. Worse comes to worse, I will just subclass the core classes, but I wanted to know if anyone considered making this part of the basic functionality of the engine; is there an architectural reason that I'm not understanding? that makes it a bad idea to do so? If this one thing were addressed I really feel like GO would take off. Let me know what I can do to help -Jonathan Culp _________________________________________________________________ Access your email online and on the go with Windows Live Hotmail. http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_AE_Access_022009 -------------- next part -------------- An HTML attachment was scrubbed... URL: From moses at goasap.org Thu Feb 26 07:01:03 2009 From: moses at goasap.org (Moses Gunesch) Date: Thu, 26 Feb 2009 10:01:03 -0500 Subject: [Golist] Suggestions In-Reply-To: References: Message-ID: Hey Jonathan, thank you for this great email! You know, it's something that wasn't at the forefront when I designed Go, but has actually come up a good number of times since its release, and I'm seeing more and more how important it really is. Go should be easier to extend into more complex sequencers that can retain state like a timeline, run forwards and backwards, and do random-access jumps to any point along the way based on overall time. I think you're right that providing the ability to run backward would be a good add for the core feature set. The Repeater class still feels a little clunky to me and there's been some hints lately that it might be causing memory issues. Let's all discuss how it could be improved. Your branch will also require comprehensive management of start-states and retention of start-values, something that best done in tween subclasses. (Don't forget that you can extend other open-source packages like the Zaaz tween set, and/or design a custom manager system for random-access timelining.) BTW: another guy on this list who's already attacked this challenge is Robert Boyd. You can find his emails in the archives and might want to rally forces with him on this project. I've also found some need for this kind of thing and will be happy to jump in and help you guys create a solid extension for "scrubbable" sequences. In general, I really appreciate this level of thought toward making Go more univeral! Remember that over all Go is more of a proposal than a product, so let's keep shaping it. :-) Moses On Feb 23, 2009, at 4:12 PM, Jonathan Culp wrote: > Hi everybody, > > I'm sorry if this has already been written about or discussed > before. I just joined the list, so I don't have anyway of telling. > > I've been following GO off and on for while. When I downloaded the > source and was really impressed with the modularity and clarity of > thought that it was created with. However, I kept waiting for > someone to write the perfect tweening class before I took used it on > a commercial project. > > Mostly what I was waiting for was for someone to write a tween and > tween sequence that could be easily reversed at any point. Long > story short, I got some free time at work today and wanted to take a > look at what would be involved in "rolling my own" tween class. > > Reversing an sequence was something I used to do in Fuse all the > time, but havn't seen implemented (well) in a Tweening package since > then. I don't mean to trivialize the difficulty involved with doing > that. But in recent years I've had to resort to timeline based > animations, in order to match the motion studies I get from > designers at work, which often contain long or many stepped > animation sequences. (I really hate the timeline) > > Having taken a look at the source code I was expecting to find some > kind of support for this but it doesnt appear to be there. I know > that repeater instances can be used to play an animation backwards, > but it seems, only once its finished. In order for me to add > immediate reverseable animation support, it looks like I would have > to subclass LinearGo, Playable Base, and SequenceBase in order to > make some heavy modifications to the behavior. Doing so would, I > feel break the spirit of modularity and extenseability thats at the > core of the GOEngine. > > Worse comes to worse, I will just subclass the core classes, but I > wanted to know if anyone considered making this part of the basic > functionality of the engine; is there an architectural reason that > I'm not understanding? that makes it a bad idea to do so? If this > one thing were addressed I really feel like GO would take off. > > Let me know what I can do to help > -Jonathan Culp > > Access your email online and on the go with Windows Live Hotmail. > Sign up today._______________________________________________ > GoList mailing list > GoList at goasap.org > http://goasap.org/mailman/listinfo/golist_goasap.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From carli at maximum.nl Fri Feb 27 02:30:50 2009 From: carli at maximum.nl (Carli) Date: Fri, 27 Feb 2009 11:30:50 +0100 Subject: [Golist] Suggestions In-Reply-To: References: Message-ID: Ha mark, zie http://werkenbijstrukton.mxmm.com/n/24/MVO-balansschijf.html voor de belansschijf... ik hoor je, Groet. Op Thu, 26 Feb 2009 16:01:03 +0100 schreef Moses Gunesch : > Hey Jonathan, thank you for this great email! > > You know, it's something that wasn't at the forefront when I designed > Go, but has actually come up a good number of times since its release, > and I'm seeing more and more how important it really is. Go should be > easier to extend into more complex sequencers that can retain state > like a timeline, run forwards and backwards, and do random-access > jumps to any point along the way based on overall time. > > I think you're right that providing the ability to run backward would > be a good add for the core feature set. The Repeater class still feels > a little clunky to me and there's been some hints lately that it might > be causing memory issues. Let's all discuss how it could be improved. > > Your branch will also require comprehensive management of start-states > and retention of start-values, something that best done in tween > subclasses. (Don't forget that you can extend other open-source > packages like the Zaaz tween set, and/or design a custom manager > system for random-access timelining.) > > BTW: another guy on this list who's already attacked this challenge is > Robert Boyd. You can find his emails in the archives and might want to > rally forces with him on this project. I've also found some need for > this kind of thing and will be happy to jump in and help you guys > create a solid extension for "scrubbable" sequences. > > In general, I really appreciate this level of thought toward making Go > more univeral! Remember that over all Go is more of a proposal than a > product, so let's keep shaping it. > > :-) > > Moses > > > > On Feb 23, 2009, at 4:12 PM, Jonathan Culp wrote: > >> Hi everybody, >> >> I'm sorry if this has already been written about or discussed >> before. I just joined the list, so I don't have anyway of telling. >> >> I've been following GO off and on for while. When I downloaded the >> source and was really impressed with the modularity and clarity of >> thought that it was created with. However, I kept waiting for >> someone to write the perfect tweening class before I took used it on >> a commercial project. >> >> Mostly what I was waiting for was for someone to write a tween and >> tween sequence that could be easily reversed at any point. Long >> story short, I got some free time at work today and wanted to take a >> look at what would be involved in "rolling my own" tween class. >> >> Reversing an sequence was something I used to do in Fuse all the >> time, but havn't seen implemented (well) in a Tweening package since >> then. I don't mean to trivialize the difficulty involved with doing >> that. But in recent years I've had to resort to timeline based >> animations, in order to match the motion studies I get from >> designers at work, which often contain long or many stepped >> animation sequences. (I really hate the timeline) >> >> Having taken a look at the source code I was expecting to find some >> kind of support for this but it doesnt appear to be there. I know >> that repeater instances can be used to play an animation backwards, >> but it seems, only once its finished. In order for me to add >> immediate reverseable animation support, it looks like I would have >> to subclass LinearGo, Playable Base, and SequenceBase in order to >> make some heavy modifications to the behavior. Doing so would, I >> feel break the spirit of modularity and extenseability thats at the >> core of the GOEngine. >> >> Worse comes to worse, I will just subclass the core classes, but I >> wanted to know if anyone considered making this part of the basic >> functionality of the engine; is there an architectural reason that >> I'm not understanding? that makes it a bad idea to do so? If this >> one thing were addressed I really feel like GO would take off. >> >> Let me know what I can do to help >> -Jonathan Culp >> >> Access your email online and on the go with Windows Live Hotmail. >> Sign up today._______________________________________________ >> GoList mailing list >> GoList at goasap.org >> http://goasap.org/mailman/listinfo/golist_goasap.org > From carli at maximum.nl Fri Feb 27 02:44:32 2009 From: carli at maximum.nl (Carli) Date: Fri, 27 Feb 2009 11:44:32 +0100 Subject: [Golist] Suggestions In-Reply-To: References: Message-ID: Sorry wrong e-mail!!! ciao Op Fri, 27 Feb 2009 11:30:50 +0100 schreef Carli : > Ha mark, > > zie http://werkenbijstrukton.mxmm.com/n/24/MVO-balansschijf.html voor de > belansschijf... > > ik hoor je, > > Groet. > > Op Thu, 26 Feb 2009 16:01:03 +0100 schreef Moses Gunesch > : > >> Hey Jonathan, thank you for this great email! >> >> You know, it's something that wasn't at the forefront when I designed >> Go, but has actually come up a good number of times since its release, >> and I'm seeing more and more how important it really is. Go should be >> easier to extend into more complex sequencers that can retain state >> like a timeline, run forwards and backwards, and do random-access >> jumps to any point along the way based on overall time. >> >> I think you're right that providing the ability to run backward would >> be a good add for the core feature set. The Repeater class still feels >> a little clunky to me and there's been some hints lately that it might >> be causing memory issues. Let's all discuss how it could be improved. >> >> Your branch will also require comprehensive management of start-states >> and retention of start-values, something that best done in tween >> subclasses. (Don't forget that you can extend other open-source >> packages like the Zaaz tween set, and/or design a custom manager >> system for random-access timelining.) >> >> BTW: another guy on this list who's already attacked this challenge is >> Robert Boyd. You can find his emails in the archives and might want to >> rally forces with him on this project. I've also found some need for >> this kind of thing and will be happy to jump in and help you guys >> create a solid extension for "scrubbable" sequences. >> >> In general, I really appreciate this level of thought toward making Go >> more univeral! Remember that over all Go is more of a proposal than a >> product, so let's keep shaping it. >> >> :-) >> >> Moses >> >> >> >> On Feb 23, 2009, at 4:12 PM, Jonathan Culp wrote: >> >>> Hi everybody, >>> >>> I'm sorry if this has already been written about or discussed >>> before. I just joined the list, so I don't have anyway of telling. >>> >>> I've been following GO off and on for while. When I downloaded the >>> source and was really impressed with the modularity and clarity of >>> thought that it was created with. However, I kept waiting for >>> someone to write the perfect tweening class before I took used it on >>> a commercial project. >>> >>> Mostly what I was waiting for was for someone to write a tween and >>> tween sequence that could be easily reversed at any point. Long >>> story short, I got some free time at work today and wanted to take a >>> look at what would be involved in "rolling my own" tween class. >>> >>> Reversing an sequence was something I used to do in Fuse all the >>> time, but havn't seen implemented (well) in a Tweening package since >>> then. I don't mean to trivialize the difficulty involved with doing >>> that. But in recent years I've had to resort to timeline based >>> animations, in order to match the motion studies I get from >>> designers at work, which often contain long or many stepped >>> animation sequences. (I really hate the timeline) >>> >>> Having taken a look at the source code I was expecting to find some >>> kind of support for this but it doesnt appear to be there. I know >>> that repeater instances can be used to play an animation backwards, >>> but it seems, only once its finished. In order for me to add >>> immediate reverseable animation support, it looks like I would have >>> to subclass LinearGo, Playable Base, and SequenceBase in order to >>> make some heavy modifications to the behavior. Doing so would, I >>> feel break the spirit of modularity and extenseability thats at the >>> core of the GOEngine. >>> >>> Worse comes to worse, I will just subclass the core classes, but I >>> wanted to know if anyone considered making this part of the basic >>> functionality of the engine; is there an architectural reason that >>> I'm not understanding? that makes it a bad idea to do so? If this >>> one thing were addressed I really feel like GO would take off. >>> >>> Let me know what I can do to help >>> -Jonathan Culp >>> >>> Access your email online and on the go with Windows Live Hotmail. >>> Sign up today._______________________________________________ >>> GoList mailing list >>> GoList at goasap.org >>> http://goasap.org/mailman/listinfo/golist_goasap.org >> > > > > > _______________________________________________ > GoList mailing list > GoList at goasap.org > http://goasap.org/mailman/listinfo/golist_goasap.org From JLM at justinfront.net Fri Feb 27 06:22:50 2009 From: JLM at justinfront.net (Justin Lawerance Mills) Date: Fri, 27 Feb 2009 14:22:50 +0000 Subject: [Golist] (no subject) Message-ID: <6EFB6E9D-8689-4C25-ACC6-1402C92900A4@justinfront.net> I have been using some classes libraryasap... I guessing they are an earlier ver. Anyway with these or go I wanted to be able to addStep or addAction that calls a function on an instance and then waits for that instance to do its own sequence/queue before continuing with the next addStep/ addAction that originally called the function? Is sort of thing supported?? Cheers Justin From JLM at justinfront.net Fri Feb 27 06:24:36 2009 From: JLM at justinfront.net (Justin Lawerance Mills) Date: Fri, 27 Feb 2009 14:24:36 +0000 Subject: [Golist] (no subject) In-Reply-To: <6EFB6E9D-8689-4C25-ACC6-1402C92900A4@justinfront.net> References: <6EFB6E9D-8689-4C25-ACC6-1402C92900A4@justinfront.net> Message-ID: <5C329FFB-665E-4EB4-9923-21C3BA48F886@justinfront.net> sorry missed finishing the subject line oops! On 27 Feb 2009, at 14:22, Justin Lawerance Mills wrote: > I have been using some classes libraryasap... I guessing they are > an earlier ver. > > Anyway with these or go I wanted to be able to addStep or addAction > that calls a function on an instance and then waits for that > instance to do its own sequence/queue before continuing with the > next addStep/addAction that originally called the function? > > Is sort of thing supported?? > > > Cheers > > > Justin > > _______________________________________________ > GoList mailing list > GoList at goasap.org > http://goasap.org/mailman/listinfo/golist_goasap.org From moses at goasap.org Fri Feb 27 08:55:14 2009 From: moses at goasap.org (Moses Gunesch) Date: Fri, 27 Feb 2009 11:55:14 -0500 Subject: [Golist] (no subject) In-Reply-To: <5C329FFB-665E-4EB4-9923-21C3BA48F886@justinfront.net> References: <6EFB6E9D-8689-4C25-ACC6-1402C92900A4@justinfront.net> <5C329FFB-665E-4EB4-9923-21C3BA48F886@justinfront.net> Message-ID: Absolutely. That should totally be possible. I don't have time for a full reply right now but would say, start by adding completion event listeners. You can add sequences as items in other sequences too. Finally, you might look into the custom advance options, I think there's options in there for automating sequence advance in different ways. - m On Feb 27, 2009, at 9:24 AM, Justin Lawerance Mills wrote: > sorry missed finishing the subject line oops! > > > On 27 Feb 2009, at 14:22, Justin Lawerance Mills wrote: > >> I have been using some classes libraryasap... I guessing they are >> an earlier ver. >> >> Anyway with these or go I wanted to be able to addStep or addAction >> that calls a function on an instance and then waits for that >> instance to do its own sequence/queue before continuing with the >> next addStep/addAction that originally called the function? >> >> Is sort of thing supported?? >> >> >> Cheers >> >> >> Justin >> >> _______________________________________________ >> GoList mailing list >> GoList at goasap.org >> http://goasap.org/mailman/listinfo/golist_goasap.org > > > _______________________________________________ > GoList mailing list > GoList at goasap.org > http://goasap.org/mailman/listinfo/golist_goasap.org From JLM at justinfront.net Fri Feb 27 09:56:43 2009 From: JLM at justinfront.net (Justin Lawerance Mills) Date: Fri, 27 Feb 2009 17:56:43 +0000 Subject: [Golist] (no subject) In-Reply-To: References: <6EFB6E9D-8689-4C25-ACC6-1402C92900A4@justinfront.net> <5C329FFB-665E-4EB4-9923-21C3BA48F886@justinfront.net> Message-ID: <4E9C3052-B020-467C-98BF-94A3E421BCC3@justinfront.net> Ok at the moment I am keeping with my original code but will look into later when also have time to experiment. Is the old libraryasap stuff ok to use or should i definitely be switching? cheers ;j On 27 Feb 2009, at 16:55, Moses Gunesch wrote: > Absolutely. That should totally be possible. I don't have time for > a full reply right now but would say, start by adding completion > event listeners. You can add sequences as items in other sequences > too. Finally, you might look into the custom advance options, I > think there's options in there for automating sequence advance in > different ways. > > - m > > > > On Feb 27, 2009, at 9:24 AM, Justin Lawerance Mills wrote: > >> sorry missed finishing the subject line oops! >> >> >> On 27 Feb 2009, at 14:22, Justin Lawerance Mills wrote: >> >>> I have been using some classes libraryasap... I guessing they are >>> an earlier ver. >>> >>> Anyway with these or go I wanted to be able to addStep or >>> addAction that calls a function on an instance and then waits for >>> that instance to do its own sequence/queue before continuing with >>> the next addStep/addAction that originally called the function? >>> >>> Is sort of thing supported?? >>> >>> >>> Cheers >>> >>> >>> Justin >>> >>> _______________________________________________ >>> GoList mailing list >>> GoList at goasap.org >>> http://goasap.org/mailman/listinfo/golist_goasap.org >> >> >> _______________________________________________ >> GoList mailing list >> GoList at goasap.org >> http://goasap.org/mailman/listinfo/golist_goasap.org > > > _______________________________________________ > GoList mailing list > GoList at goasap.org > http://goasap.org/mailman/listinfo/golist_goasap.org