02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School
Previous VideoPrevious Video

Making Default Paramters

Some times you want to have functions that by default would take one value as long as no other value was sent to them. In this video we will look how to set a default value in AS3 functions.

Overview

02:32

What Are Functions?

09:41

Functions vs. Methods

07:33

Calling Functions();

14:02

Creating Functions

03:54

Between Functions and Variables

04:29

Sending A Param

03:15

Sending Multiple Parameters

05:53

Return Something;

08:36

Void: When Functions Don't Return

02:30

The Return to Return

05:31

Scope - First Dabs

09:21

Making Default Paramters

05:29