Objects on the fly

For the sake of writing less code, I looking for a solution for creating objects with a class declaration stored in a String.

How would the following object instantiation be writen to dynamically call the creation of objects using the following method?

 
var dynaBall:String="RedBall"
var myBall=new dynaBall()
//where RedBall exists as a library class

Any help would be greatly appreciated