RE: [Flashcoders] trying to call a function passed as an argument

2006-06-30 Thread Doug Coning
nior Web Development Programmer FORUM Solutions, LLC > -Original Message- > From: [EMAIL PROTECTED] [mailto:flashcoders- > [EMAIL PROTECTED] On Behalf Of Elie Zananiri > Sent: Thursday, June 29, 2006 3:22 PM > To: flashcoders@chattyfig.figleaf.com > Subject: [Flashcoders]

Re: [Flashcoders] trying to call a function passed as an argument

2006-06-30 Thread Latcho
flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] trying to call a function passed as an argument Hi all, I have this method where I need to call a function passed as an argument (kind of like in setInterval()) and I don't understand the documentation and can't get it to work. Fi

RE: [Flashcoders] trying to call a function passed as an argument

2006-06-29 Thread neo binedell
damn, should be: o[ method ].apply( o, ... args... ); Long day... ~neo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of neo binedell Sent: 29 June 2006 10:42 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] trying to call a funct

RE: [Flashcoders] trying to call a function passed as an argument

2006-06-29 Thread neo binedell
d ].apply( a, ... args... ); } ~neo ps: Interestingly enough addEventListener in AS3 does what your code wants to do implicitly ;p -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Elie Zananiri Sent: 29 June 2006 09:22 PM To: flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] trying to call a function passed as an argument

2006-06-29 Thread John Mark Hawley
AIL PROTECTED]> > Date: 2006/06/29 Thu PM 02:21:47 CDT > To: flashcoders@chattyfig.figleaf.com > Subject: [Flashcoders] trying to call a function passed as an argument > > Hi all, > > I have this method where I need to call a function passed as an argument > (kind of l

[Flashcoders] trying to call a function passed as an argument

2006-06-29 Thread Elie Zananiri
Hi all, I have this method where I need to call a function passed as an argument (kind of like in setInterval()) and I don't understand the documentation and can't get it to work. First of all, I don't understand how to pass the function as a parameter. Am I passing a String or an actual Functio