Easing as a property in a class

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

As it stands I have:

public var transType = Strong.easeOut

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

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.