# Easing as a property in a class

**URL:** <https://forum.kirupa.com/t/easing-as-a-property-in-a-class/259459>\
**Category:** flash\
**Created:** [May 5, 2008, 5:07pm UTC](https://forum.kirupa.com/t/easing-as-a-property-in-a-class/259459 "2008-05-05T17:07:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![halian](https://avatars.discourse-cdn.com/v4/letter/h/45deac/32.png) [@halian](https://forum.kirupa.com/u/halian)\
**Post date:** [May 5, 2008, 5:07pm UTC](https://forum.kirupa.com/t/easing-as-a-property-in-a-class/259459/1 "2008-05-05T17:07:53Z")

</div>

I’m curious how I would be able to use easing as a property.

As it stands I have:

```auto
public var transType = Strong.easeOut

```

I was thinking that I would be able to access it with:

```auto
someVar.transType = Elastic.easeIn;

```

Unfortunately I get the error “1120: Access of undefined property Elastic.”

The idea is that if I choose to use a different easing method, I just change the transType rather than rewriting or changing the class.
