List Info

Thread: calling argument function




calling argument function
country flaguser name
United Kingdom
2007-02-18 19:16:34
 

I didn’t see this answered in digest so see below

 

 

function callFunction(f:Function):Void

{

            f();

}

 

function sayHello():Void

{

            trace("hello")

}

 

callFunction(sayHello)

 

 

 

Pete

 


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.441 / Virus Database: 268.18.1/691 - Release
Date: 17/02/2007
17:06



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.441 / Virus Database: 268.18.1/691 - Release
Date: 17/02/2007
17:06
 
_______________________________________________
Flashcoderschattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcode
rs

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

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )