Hi. I am using getDefinitionByName from flash.utils to get a class definition / instance from a string: var ClassRef:Class = getDefinitionByName(className) as Class;
That works great, I can create an instance if I want. Problem is, I need to call a static function on that ClassRef class, and I'll know the function name only at runtime from XML. Any idea on how to do this?