[Golist] HydroTween filterRead Error

donovan at hydrotik.com donovan at hydrotik.com
Sun Sep 28 09:06:50 PDT 2008


You can set AUTOGC: Boolean = false; in HydroTween.

I will extend this control to the individual Tween and Sequence in the next
rev.

HydroTween is set to automatically flag tweens for Garbage Collection by
default, but if you switch this off you can reuse the Tween/Sequence.







On 9/28/08 12:48 AM, "Patrick Figueroa" <patrick.figueroa at gmail.com> wrote:

> 
> Thanks Donovan,
> 
> I'm also running some HydroSequences and I'm confused as to how to set
> it up so that it can be reused. Currently just instantiating it with:
> 
> var h:HydroSequence = new HydroSequence();
> h.addItem([{target:btn, alpha:1, duration:0.3, advance:new
> OnDurationComplete(0.05), easing:Sine.easeIn}]);
> // more addItems... etc...
> 
> 
> After sequence is played I'm assuming it is automatically deleted? If
> I try to play the sequence again it doesn't do anything. I'm trying to
> look through all the available documentation and mailing list emails
> but can't seem to find what I'm looking for. Is this when I should be
> using a SequenceCA instead?
> 
> Thanks for the clarification.
> 
> 
> 
> 
> On Sep 27, 2008, at 11:36 PM, donovan at hydrotik.com wrote:
> 
>> Fixed and posted to the SVN.  Will update the download next week as
>> I have
>> some other updates to merge at work.
>> 
>> Was a bug with the color tweening key and the filter color keys.
>> 
>> rev44 should address the issue.
>> 
>> Thanks!
>> 
>> 
>> 
>> 
>> 
>> On 9/27/08 11:12 PM, "Patrick Figueroa" <patrick.figueroa at gmail.com>
>> wrote:
>> 
>>> 
>>> Having a problem with a simple GlowFilter tween with HydroTween.
>>> 
>>> The following HydroTween returns an error:
>>> HydroTween.go(this, {Glow_color:0x0000FF, Glow_blurX:8, Glow_blurY:8,
>>> Glow_strength:3}, 2, 0, Elastic.easeOut);
>>> 
>>> // Error
>>> ArgumentError: Error #1063: Argument count mismatch on
>>> com.hydrotik.go::HydroTween$/filterRead(). Expected 2, got 3.
>>> at com.hydrotik.go::HydroTween/propInit()
>>> at com.hydrotik.go::HydroTween/start()
>>> at com.hydrotik.go::HydroTween$/go()
>>> //
>>> 
>>> Seems as though it's a mismatch on the color property? When removed
>>> the HydroTween works but of course not with the color I want.
>>> 
>>> Thanks for any help.
>>> Patrick
>>> 
>>> 
>>> _______________________________________________
>>> 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






More information about the GoList mailing list