Something like this:
function func1()
{
}
function func2()
{
}
var arr = [func1, func2];
arrFunction.push(function func3() { } );
But again, why you need it..
-abdul
-----Original Message-----
From: Spike [mailto:[EMAIL PROTECTED]
Sent: Monday, March 14, 2005 9:34 PM
To: [email protected]
Subject: Re: [flexcoders] Can you make an array of functions
You can achieve the same thing as an array of functions by creating an
array of objects that each has a single function.
The question is why would you want to do this?
Spike
[EMAIL PROTECTED] wrote:
> Is this possible
> *Yahoo! Groups Sponsor*
> ADVERTISEMENT
> click here
>
<http://us.ard.yahoo.com/SIG=129cjlfav/M=298184.6018725.7038619.3001176/D=gr
oups/S=1705007207:HM/EXP=1110902179/A=2593423/R=0/SIG=11el9gslf/*http://www.
netflix.com/Default?mqso=60190075>
>
>
> ------------------------------------------------------------------------
> *Yahoo! Groups Links*
>
> * To visit your group on the web, go to:
> http://groups.yahoo.com/group/flexcoders/
>
> * To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>
>
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>.
>
>
--
--------------------------------------------
Stephen Milligan
Code poet for hire
http://www.spike.org.uk
Do you cfeclipse? http://cfeclipse.tigris.org
Yahoo! Groups Links