Monday, November 16, 2009

Lesson 6

Functions
Q & A

Visual Functions
- using dynamic variables, events and functions together

Procedural Pattern Navigation
- a pattern for creating simple site navigations

Mini-Site Review
- Review a small website that makes use of the techniques
covered in class

Homework:
Think of 10 functions that you wish were already part of flash. For example:

// draws a diamond that has a width and height of 10 pixels
drawDiamondShape(10,10);

You don't need to actually make the function work. Just write the function call (like above)

In the function_website.fla you'll notice that there is one version with a bunch of empty functions. I want you to create a mini-website... just two or three buttons and a few basic elements (similar to the one from class). Then think about all the different functions you would need to write to make that site work - you don't actually need to make the functions work, just write the names of them (like I did in the functions_website.fla).

You should also continue to practice writing functions - try to invent a few more "visual functions." (See all the fla files with the same name)


CLASS FILES

No comments:

Post a Comment