Calling Functions : Function : Function Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Function » Function »

 

Calling Functions


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){
      displayGreeting();

    }
    function displayGreeting():void {
      trace("Hello.");
    }
  }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo Function
» Function