definitely possible. i'm pretty new to actionscript so don't laugh,
but this is what i've been using recently.
mcButton.onRelease = function(){
new mx.transitions.Tween(mcTarget, "_x",
mx.transitions.easing.Strong.easeOut, 0, 600, 2, true);
new mx.transitions.Tween(mcTarget, "_y",
mx.transitions.easing.Strong.easeOut, 600, 0, 2, true);
}
here are the parameters and what they mena:
(mcTarget, "_x", mx.transitions.easing.Strong.easeOut, 0, 600, 2, true)
target, parameter, easing type, starting coordinate, ending
coordinate, seconds or frames, true for use seconds and false for use
frames
On Jun 26, 2006, at 5:30 PM, Weyert de Boer wrote:
I am curious if it's possible to use the Tween or TweenExtended
class to make pan/slide animation. I mean something like you move a
picture from the left bottom corner to the right top corner within
the dimensions of the container movieclip.
Yours,
Weyert de Boer
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com