Publishers of technology books, eBooks, and videos for creative people

Home > Blogs > Kris Hadlock

RSS Feed Subscribe  RSS details

Default parameter values, Five ActionScript Tips in Five Days, Part 5

ActionScript 3 offers a great solution to ensuring that your method parameters have values even when no values are passed. The solution is called default parameter values, which allow you to predefine default values for specific method parameters.

More

Wilcard parameters, Five ActionScript Tips in Five Days, Part 4

Parameters are an essential construct of a method, and the ability to type parameters is of the utmost importance. But what if you are not sure of the value type for a parameter?

More

LoaderInfo, Five ActionScript Tips in Five Days, Part 3

Loading external variables into Flash opens up a whole world of possibility.

More

Namespaces, Five ActionScript Tips in Five Days, Part 2

ActionScript 3 namespace definition keywords are extremely powerful and can really simplify your code.

More

Label statements, Five ActionScript Tips in Five Days, Part 1

There are many little known features in ActionScript 3 that make life easier. The label statement is one of those gems that actually makes programming kind of fun.

Find out how...