> I'd love to be able to do something like this:
>    aMorph resizeToBounds: (100 @ 100 extent: 200 @ 200) inSeconds: 2.
> Speaking of which, it would be nice if orientation could be included into the 
> equation.

Roassal2 will exactly feature this. E.g.,

-=-=-=-=-=-=-=-=-=-=
| e v |
v := RTView new.
e := (RTBox new color: Color green; width: 150; height: 120) element.
v add: e.

e when: TRMouseClick do: [ :evt |
        | anim |
        anim := RTResizeMove new toExtent: (50 @ 30) during: 3 on: e.
        v addAnimation: anim.
].
e @ RTDraggable.
v open
-=-=-=-=-=-=-=-=-=-=

3 means the time taken by the square to shrink.
This is based on the work of Viva. 

Cheers,
Alexandre


-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




Reply via email to