gotoAndStop(variable) , tellTarget(variable)

Would anyone know if its possible to make a movieclip to gotoAndStop on a certain variable, and whether or not you can decide which movieclip to go to also through a certain variable?

var frame:Number = 2;
var target:String = movable;
// movieclip named movable

tellTarget(target){
	gotoAndStop(frame);
}