# Easing movements on resize for full browser flash

**URL:** https://forum.kirupa.com/t/easing-movements-on-resize-for-full-browser-flash/198403
**Category:** Uncategorized
**Created:** [August 24, 2006, 7:04pm UTC](https://forum.kirupa.com/t/easing-movements-on-resize-for-full-browser-flash/198403 "2006-08-24T19:04:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![nsnwbd17](https://avatars.discourse-cdn.com/v4/letter/n/b9bd4f/32.png) [@nsnwbd17](https://forum.kirupa.com/u/nsnwbd17)
#### Post date: [August 24, 2006, 7:04pm UTC](https://forum.kirupa.com/t/easing-movements-on-resize-for-full-browser-flash/198403/1 "2006-08-24T19:04:02Z")

</div>

Im having problems creating easing movemrnts on resize with a full browser flash web page. A great example of this is [http://www.dopeawards.com/](http://www.dopeawards.com/) but for some reason them only have the easing for the \_y value. This is the code I am using. “cover” is the movie clip on stage that i want to have easing properties. but for some reason when I resize the movement is jittery and choppy but it is easing. What will make it a smooth movement?

cover.\_x = Stage.width / 2;  
cover.\_y = Stage.height / 2;

var coverx = cover.\_x  
var covery = cover.\_y

var stageL:Object = new Object();  
stageL.onResize = function() {

new mx.transitions.Tween(cover, “\_x”, mx.transitions.easing.Regular.easeOut, coverx,(Stage.width / 2), 1, true);

new mx.transitions.Tween(cover, “\_y”, mx.transitions.easing.Regular.easeOut, coverx,(Stage.height / 2), 1, true);  
}

Stage.addListener(stageL);

Please Help!!
