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 | |
---|---|---|---|---|
Is it possible to use a variable in the name of a function? | 2 | 99 | August 15, 2004 | |
Calling a function with a variable | 2 | 124 | October 6, 2002 | |
Is it possible to use a variable in the name of a function?
|
2 | 95 | August 15, 2004 | |
Functions and variable syntax | 0 | 54 | July 5, 2005 | |
Variables with function | 0 | 63 | November 23, 2004 |