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 | 89 | August 15, 2004 | |
Function(something)
|
0 | 36 | October 19, 2004 | |
Function(something)
|
0 | 33 | October 19, 2004 | |
[CS3] AS2 Funcion calling in a Function with Variables | 0 | 146 | October 9, 2010 | |
"function" and "new"
|
2 | 34 | August 13, 2004 |