/ Published in: ActionScript 3
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var f:Function = object["function_name"] as Function;
URL: http://blog.open-design.be/2009/09/23/call-a-function-by-its-name-in-as3/