For example, the following works:
var easing = mx.transitions.easing;
But this does not:
var string:String = "Bounce";
var easing = mx.transitions.easing;
What should I do differently?
mx.transitions.easing.Bounce;
mx.transitions.easing.Back;
mx.transitions.easing.Elastic;
mx.transitions.easing.Regular;
mx.transitions.easing.Strong;
mx.transitions.easing.None;
(take out the ones you don't plan on using)
mx.transitions.easing.Bounce;
mx.transitions.easing.Back;
mx.transitions.easing.Elastic;
mx.transitions.easing.Regular;
mx.transitions.easing.Strong;
mx.transitions.easing.None;
Then, you should be able to use:
Now if only somone would explain why that is necessary? Just taking a guess,
can be evaluated when compiling, but using can't. For some reason, it can't
evaluate these unknown variables until you make them known, simply by puting
them in code...? Myabe...