//Here is the syntax for an anonymous function:/*function():datatype { statements};*/package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var fSayHi:Function = function(sName:String):void { trace("Hi, " + sName); }; fSayHi("Joey"); } }}
Name (required)
email (will not be published) (required)
Website