Flex Functions


 

Flex Functions

A function is a block of set of statements that is made to perform some specific task.

A function is a block of set of statements that is made to perform some specific task.
A function is a block of set of statements that is made to perform some specific task. It?s a reusable entity and can be invoked several times in an application.

public function init():void {

         var bool:Boolean = new Boolean(true);

         var myObj:MyClass = new MyClass();

}

Ads