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 | 98 | August 15, 2004 | |
Calling a function with a variable | 2 | 122 | October 6, 2002 | |
Is it possible to use a variable in the name of a function?
|
2 | 93 | August 15, 2004 | |
[CS3] AS2 Funcion calling in a Function with Variables | 0 | 150 | October 9, 2010 | |
Functions and variable syntax | 0 | 53 | July 5, 2005 |