# Easing on Resize with Caurina

**URL:** https://forum.kirupa.com/t/easing-on-resize-with-caurina/271185
**Category:** flash
**Created:** [September 19, 2008, 2:07pm UTC](https://forum.kirupa.com/t/easing-on-resize-with-caurina/271185 "2008-09-19T14:07:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![klavier](https://avatars.discourse-cdn.com/v4/letter/k/13edae/32.png) [@klavier](https://forum.kirupa.com/u/klavier)
#### Post date: [September 19, 2008, 2:07pm UTC](https://forum.kirupa.com/t/easing-on-resize-with-caurina/271185/1 "2008-09-19T14:07:01Z")

</div>

Hi all,

I’m looking to modify my stage listener to include easing using Caurina.  
If anyone could be so kind as to help set me on the right track in modifying this?

I’m having trouble since this it needs to resize proportionally.

```auto

var sListener:Object = new Object();
sListener.onResize = function () {
    content_mc.container_mc._width = Math.max(Stage.width, 600);
    content_mc.container_mc._yscale = content_mc.container_mc._xscale;
}
Stage.addListener(sListener);
sListener.onResize();

```

Thanks a bunch in adavnce!
