Addressing A Class Member By String

Hi,

Just wondering if there is a way that you could address a member/method/function by using a string. For example, I could call a member of the class MovieClip like this:

var something:MovieClip = new MovieClip();
something.x = 15;

Is there a way that I can do it like this (I know this code below doesn’t work but along these lines is there a way?):

var something:MovieClip = new MovieClip();
var s:String = "x";

something.s = 15;

icekube12jr