What is the correct way to write (ex. eval("_root.s"+aVariable+".onEnterFrame") = function() {...}) in Flash MX?

-Thanks