funcB.apply(this, arguments);

  Attila

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
From:    Swapnil Dubey <[EMAIL PROTECTED]>
To:      [email protected] <[email protected]>
Date:    Wednesday, July 18, 2007, 12:55:23 PM
Subject: [Flashcoders] Variable argument list
--====----====----====----====----====----====----====----====----====----===--
 

Hi all,

 

I want to implement an function funcA that takes a variable list of
arguments, and passes on that list to another function funcB, just like
setInterval does.

 

 

funcA = function()

{

            // Here I can access the arguments through the arguments
array.

            // But how do I pass it on the arguments to funcB that I am
calling below.

            // I mean I cannot write funcB(arguments[0], arguments[1],
arguments[n]....); 

            // as the last index n will be specified at runtime.

 

            funcB();

 

            

}

 

 

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to