# How to put in ease?

**URL:** <https://forum.kirupa.com/t/how-to-put-in-ease/149470>\
**Category:** Uncategorized\
**Created:** [May 29, 2005, 6:46pm UTC](https://forum.kirupa.com/t/how-to-put-in-ease/149470 "2005-05-29T18:46:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![i\_will\_learn\_fl](https://avatars.discourse-cdn.com/v4/letter/i/b487fb/32.png) [@i\_will\_learn\_fl](https://forum.kirupa.com/u/i_will_learn_fl)\
**Post date:** [May 29, 2005, 6:46pm UTC](https://forum.kirupa.com/t/how-to-put-in-ease/149470/1 "2005-05-29T18:46:00Z")

</div>

Ok I have this peice of code

```auto
onEnterFrame = function () {
	var speed = 1;
	var alpha = math.round(_root.man._alpha);
	_root.man._alpha -= speed;
	_root.box = math.round(_root.man._alpha);
	if (_root.man._alpha<0) {
		delete this.onEnterFrame;
	}
};

```

How can I make the man fade out with ease just by adding some more actionscript to that code?
