When we discussed the variables, I said I want to put the scope topic with the function. Because I think the variables’ scope have much to do with the functions.
Besides the default parameters, there are still some thing you need to know about the parameters in ActionScript 3.0, the Arguments object and the …(rest) parameter.
After the talking about how to define the functions, and calling them, we are going to talk about the parameters. And today’s topic is about the default parameter values.
OK, after some talking about the parameters, let’s go a little deeper with the parameters. This section is about the mechanism of passing the parameters.
Question piled upon a question. After we know how to define the functions, we need to know how to use it.
In the previous section, we talk about how to declare a function by using the function statements. Today, I’ll show you another way to declare the functions.
Continue with the previous section. After we know what function is, maybe we need to know another thing when we calling the functions, the program flow.