I need a way to call a function from a function. It’s not that hard, I know, but the name of the nested function is a variable passed into the first function. Like in setTimer() and other functions in flash, where you have the name of a variable to call. I’m going to have a lot, so doing some cheap if(funcname == blabla){blabla();} won’t work. I’m not sure if that makes much sense, but yeah… All my searches return useless things.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
[CS3] AS2 Funcion calling in a Function with Variables | 0 | 146 | October 9, 2010 | |
Use variable name in a function. Please! | 0 | 103 | January 3, 2008 | |
Possible to pass a function name? | 0 | 106 | October 28, 2009 | |
[any] Newbie question, calling functions from vars | 0 | 90 | February 7, 2006 | |
Need help with functions | 0 | 40 | January 8, 2009 |