[Golist] Time for me to use HydroTween

Joel Stransky joel at stranskydesign.com
Thu Nov 13 14:51:17 PST 2008


Working nicely so far. I'm just having an issue with creating
non-paramertized HydroSequence instances.
*this gives me implicit coercion errors*
var seq1:HydroSequence;
seq1 = new HydroSequence();
seq1.addStep( { target:topBanner, scaleX:1, duration:.5, easing:Back.easeOut
} );
seq1.addStep( { target:topBanner, x:"10" } );

1118: Implicit coercion of a value with static type Object to a possibly
unrelated type org.goasap.interfaces:IPlayable.

But this works,
var seq1:HydroSequence;
seq1 = new HydroSequence({ target:topBanner, scaleX:1, duration:.5,
easing:Back.easeOut }, { target:topBanner, x:"10" });

Not a huge deal, just wondering if theres a way to get the first method to
work.

--Joel Stransky
stranskydesign.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://goasap.org/pipermail/golist_goasap.org/attachments/20081113/622f8073/attachment.html>


More information about the GoList mailing list