[osflash] Shape Tween (OT)

tom rhodes tom.rhodes at gmail.com
Mon Nov 9 02:58:04 PST 2009


hey beno,

so what you want is a pure code way of transforming shapes?

look into the drawing API, for simple shape transformations it's not a
problem and not much code, but if you were wanting to morph an svg of the
new york skyline into an apple by tweening all the points and arcs, prepare
for a headache.




2009/11/9 beno - <flashmebaby at gmail.com>

> It's more than tweening "Vector.<Number> values with TweenMax the same way
> it can be done with an array using the "endArray" special feature" because
> one needs to tween the arcs as well as the numbers.
> Thanks,
> beno
>
> On Sun, Nov 8, 2009 at 7:16 PM, Alias™ <aliasrob at gmail.com> wrote:
>
>> You can't really control shape tweens via actionscript, because
>> they're done at compile time by the IDE. If you want to change the
>> speed or direction of a shape tween you might be able to get
>> satisfactory results by doing a long shape tween with no easing, and
>> tween the currentFrame property to add easing.
>>
>> HTH
>> Alias
>>
>> 2009/11/7 beno - <flashmebaby at gmail.com>:
>> > You folks were so kind as to refer me to greensock.com. Unfortunately,
>> it
>> > appears they're not set up for shape tweening. I would like you to
>> recommend
>> > another library that does this well, if you could.
>> > TIA,
>> > beno
>> >
>> > _______________________________________________
>> > osflash mailing list
>> > osflash at osflash.org
>> > http://osflash.org/mailman/listinfo/osflash_osflash.org
>> >
>> >
>>
>> _______________________________________________
>> osflash mailing list
>> osflash at osflash.org
>> http://osflash.org/mailman/listinfo/osflash_osflash.org
>>
>
>
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/osflash_osflash.org/attachments/20091109/fd2b7647/attachment.html>


More information about the osflash mailing list