View Full Version : Animation/Fx

19 Feb 2007, 6:02 PM
I originally had:

var actor = new Ext.Actor('lgform', null, true);
actor.moveIn('left', null, 1);

How would you go about this now?

Thanks for any help!

19 Feb 2007, 8:27 PM
Actually moveIn/moveOut probably should be ported over. I liked those two. :)

If you haven't used alignTo before, it is a great function. alignTo received major upgrades in the release, thanks to the help of bmoeskau (Brian). Check out the docs for it.

This would probably work for you:

el.alignTo(document, 'c-l').show().alignTo(document, 'c-c', null, true);

Obviously not quite as clean but more powerful (can moveIn from corners). I will plan on adding short handed moveIn/Out functions.