[Golist] Sequence Question
Aram
brancusi at gmail.com
Thu Feb 21 22:37:35 PST 2008
I pulled the latest revision 24 from svn. It is indeed 0.4.1
If I remove the weak reference on: SequenceBase - Line: 333
step.addEventListener(SequenceEvent.ADVANCE, onStepEvent, false, 0, true);
-TO-
step.addEventListener(SequenceEvent.ADVANCE, onStepEvent);
It works, not sure if that breaks something else though for future GC.
On another note, a RepeatingSequence. To achieve, I subclassed
Sequence and overrode stop, adding in a skipTo(0).
Would something like a repeat flag on Sequence ever make it into the
core? Or we should just extend for stuff like that?
Thanks,
Aram
On Thu, Feb 21, 2008 at 10:11 PM, Moses Gunesch <moses at goasap.org> wrote:
>
> Which version of Go are you using (please be sure to test with 0.4.1), and
> which weakReference param at which line?
>
> Thanks,
> moses
>
>
> On Feb 22, 2008, at 12:30 AM, Aram wrote:
>
>
> Thanks for the great work first off.
>
> Have a quick question regarding sequencing.
>
> If I create a new sequence within a method, only the first item fires.
> The complete event never make up to PlayableGroup. If I remove the
> weak listener param though it moves up and works as though the
> sequence was declared outside the method.
>
> Just wondering if this is the preferred behavior or not?
>
> Thanks again
>
> _______________________________________________
> 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
>
>
More information about the GoList
mailing list