All arguments that have a default value must all be placed last in the order of arguments : Function parameters : Function Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Function » Function parameters »

 

All arguments that have a default value must all be placed last in the order of arguments


 

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


    }
    function storeAddress(name:String, email:String, zip:String = null){

    }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo Function
» Function parameters