Saturday, October 31, 2009

This Tuesday Cancelled

Hey Guys,

I sprained my ankle on friday and need to cancel this coming weeks class. We'll simply add a make-up class that will be one week after what was originally going to be the final class....

best,

z

Tuesday, October 27, 2009

lesson 6

if you were here please post an attendance comment:

Homework:
rework your 10 class descriptions by adding properties and methods (functions) to them. If you didn't try to make your navigation homework into a class... try and convert it to a class... if you already turned your navigation into a class, try converting the zoom nav into a class...

ClassFiles

Tuesday, October 20, 2009

lesson 5

If you were here for lesson 5 .... please post an attendance comment.

Functions:
- function name homework
- implemented a few functions (screenshot and cursor mask)

Classes:
- Box class
- MaskAnimation class

- thumbnail loader stuff


Homework:
Write the names of 10 classes you wish existed as part of AS3. Take your navigation and attempt to turn it into a class... start by designing how you would like the class to work, decide what properties and functions (methods) you want your class to have and then slowly/carefully try to add them. Use MaskAnimation and Box as a reference for syntax...

ClassFiles

Saturday, October 17, 2009

3D nav

Source file for the 3D nav I created at the end of class is coming soon...

Add Images to Me

It occurred to me that it would be perfectly suitable to use one of the optimize me files to add images to... so if your navigation doesn't need some thumbnail images added to it, you can use this file.... this is not required, but highly recommended.

download add images to me file

Tuesday, October 13, 2009

Lesson 4

Review
- Homework
- Q and A
- "optimize me" examples and answers

New Concepts
- arrays
- real tweenlite integration
- functions functions functions
- loading images

Top Down Programming
- Imagine all your code was already written and you just need to write client code.
- Forget about things that don't matter
- break the problem down to its simplest parts
- think about the most important part of the problem FIRST

Bottom-up Programming


On the Fly Navigation
- I code a navigation on the fly using top down programming
- I'll implement all my functions using a combination of top-down and bottom-up.

Classes
- will likely have to wait till next week.


Homework
Design 10 functions you wish existed. Write more elegant top-down style functions for your current navigation.

Try to fix and optimize your nav for next week. Make your nav control either a pages movieClip or something else. If it makes sense add some images to your navigation - if it doesn't make sense I'll be uploading a file in the next couple of days that you can try and add images to.

ClassFiles

Saturday, October 10, 2009

Optimize This File

This is optional but highly recommended.... download this file:

http://www.mtcanvas.com/sva/advancedas3/optimizeMe.fla.zip

and use the techniques we learned last week to attempt to optimize it... also, don't forget about MOUSE_OVER and MOUSE_OUT.

Tuesday, October 6, 2009

Lesson 3

More Functions
- homework review
- functions that take a library skin
- for loop review
- functions that return sprite or shape
- combining functions
- sketching with functions, design before implementation
- wrapper functions
- function Q and A

Variables and Function Uses
- Simplest use for variables is readability and organization
- Main use for variables is significant added flexibility
- Simplest use for function is readability and organization
- Main use for functions is significant added flexibility

Writing More Dynamic code
- in class exercise to create bar graph hardcoded
- convert our in class hard coded example to be more dynamic using
variables, functions and the Event Object.

Terminology
- Variable
- Data Type
- Casting
- Property
- Function
- Argument
- Return Value
- Implementation
- Client Code
- Linkage Class - the class associated with a library element (new Blob())
- Class - is a group of functions (methods) and variables that work together.

TweenLite
- examples and in class demo

Graphics Class
...

Reading
- linkage classes
- tween lite

Homework
Create a website navigation using variables, functions and linkage classes. If one of your homework assignments has lots of redundant code, try to make it more dynamic using variables, functions, evt.currentTarget/evt.target and for loops.

I'm going to upload a file at some point on thursday for you to make more dynamic - this file will be sort of like dynamic1.fla and it will be your job to make the code more elegant and dynamic

Classfiles