[Golist] Using Go w/HydroTween (2)
Cedric M. analogdesign
newsl at analogdesign.ch
Tue Jan 22 00:16:27 PST 2008
Hello Donovan,
>>That syntax has since been changed. I flipped the duration ahead of the
delay.
I was certain of that ;)
Thank you for your answer.
I will send you an e-mail to get the latest version as you proposed.
Have a nice day.
Best regards.
Cedric M. (aka maddec)
----------------------------------------------------
http://analogdesign.ch
http://analogdesign.ch/blog
visual & interactive communication
----------------------------------------------------
>-----Message d'origine-----
>De : golist-bounces at goasap.org
>[mailto:golist-bounces at goasap.org] De la part de donovan at hydrotik.com
>Envoyé : lundi, 21. janvier 2008 17:53
>À : Mailing list for the Go ActionScript Animation Platform
>Objet : Re: [Golist] Using Go w/HydroTween (2)
>
>That syntax has since been changed. I flipped the duration ahead of the
>delay.
>
>Sorry for not replying sooner to the list, I've been busy
>integrating Go
>into a project I have been working on. I'm in the process of
>adding filter
>functionality, which is very rough, so I am overdue for an
>updated post on
>my Go progress.
>
>
>If you want the latest HydroTween class, feel free to mail me
>off list and I
>can send it to you. It's not quite ready for public
>consumption, but the
>core props are working well and there is some basic filter tweening.
>
>HydroTween should be run using static HydroTween.go method as
>it inits the
>Overlap when it's first called.
>
>
>
>donovan([[at]])hydrotik([[dot]])com
>
>
>On 1/21/08 9:22 AM, "Cedric M. analogdesign"
><newsl at analogdesign.ch> wrote:
>
>> Hi there,
>>
>> I'm currently trying out hydrotween.
>>
>> I've just a quick question about Hydrotween:
>>
>> This is the example syntax from Donovan::
>> HydroTween.go(mc, {width:300}, 2, 0, Quintic.easeInOut,
>onCompleteHandler);
>>
>> I guess the following is legal? Are they both legal?
>>
>> var tweenHydro01 = new
>HydroTween(mc,{width:760},0,2,Quintic.easeInOut,
>> onCompleteHandler);
>> tweenHydro01.start();
>>
>>
>> However the complete handler returns an error:
>> Erro#1009 impossible to access property or method from a null object
>> Line 183 _htweens[this] = null;
>>
>> Which is obviously caused by the fact that _htweens is void
>when you doesn't
>> use go(...):
>> Because the following isn't called
>> _htweens = new Dictionary(true);
>> _htweens[ go] = 1;
>>
>>
>> In addition one little remark:
>>
>> Order of delay and duration are inverted between go(..) and new
>> HydroTween(...) which may be disturbing:
>>
>> public function HydroTween(
>> target : * = null,
>> propsTo : Object = null,
>> ------------------------> delay : Number = NaN,
>> ------------------------> duration : Number = NaN,
>> easing : Function = null,
>> closure : Function = null,
>> update : Function = null) {
>> public static function go( target : * = null, propsTo :
>Object = null,
>> duration : Number = NaN, delay : Number = NaN, easing :
>Function = null,
>> closure : Function = null, update : Function = null) : void {
>>
>>
>>
>> Thank you for your interest and your answers.
>>
>>
>> Best regards.
>>
>> Cedric M. (aka maddec)
>>
>> ----------------------------------------------------
>> http://analogdesign.ch
>> http://analogdesign.ch/blog
>> visual & interactive communication
>> ----------------------------------------------------
>>
>>
>>
>> _______________________________________________
>> 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