i.m attempting to move the contents of full browser flash with easing on resize
the problem i.m having is establishing a relationship between the stage.width /height with mc, in such a way that mc moves with easing from its natural position - NOT THE CENTER
how would i work this - so any mc i place on stage will move with easing to its next position in relation to browser window resize
can someone provide a working example?
dash._x = Stage.width ;
dash._y = Stage.height ;
var obj:Object = new Object();
obj.onResize = function() {
new mx.transitions.Tween(dash, “_x”, mx.transitions.easing.Regular.easeOut, ,(Stage.width), 1, true);
new mx.transitions.Tween(dash, “_y”, mx.transitions.easing.Regular.easeOut, ,(Stage.height), 1, true);
}
Stage.addListener(obj);