Courtice Secondary School


50 Years of Academic Excellence

Vermont Trip2010

Flash

September 21st, 2009


The grade 12 students have been learning to use Flash. One resource we have found for CS4 with tones of videos is directly from adobe at www.tv.adobe.com. This site has tones of videos displaying all things adobe.

Learning AS3.

Here is a good beginner video to help you learn to begin to code in Action Script 3. With previous coding experience most people won’t have too much trouble following along.

Additionally I have found a whole collection of flash as3 tutorials. Check them out here:

http://tv.adobe.com/show/actionscript-11-with-doug-winnie/

Important Concept Definitions

Variables: a variable can be used whenever data needs to be stored or manipulated. A variable can be used to pass information between functions or programs and can be of any class type. Typically  variables can be integers, real numbers, strings or characters but you can also use a variable to store more complex data types including objects and lists of data.

Functions: A function is a set of instructions you want the program to execute or compute. A function can be used to perform operations or calculations on a variable or  set of data and can return a computed value to the main program. Functions are helpful when you need to perform the same operation multiple times and they can help you reuse your code as much as possible.

Condition Statements: The most common condition statement is the if statement. This statement is used to execute a segment of code only if a given Boolean expression is evaluated to true.

Flash Scoreboard Assignment

Based on the simple scoreboard demonstrated in class, design a scoreboard application to keep track of all data required to track a basketball game. Start by making a system to keep track of each team’s score. Make buttons so that a score keeper can easily add 1,2, or 3 points to each teams score. Design a section to keep track of the shot clock, time out clock and the quarter or half time remaining. You will be shown in class how to manage these timers. You will also need to keep track of each teams combined total fouls per half. If a team gets 7 fouls in 1 half a bonus indicator should be illuminated. Also you will need a display to count down the number of time outs each team has remaining. For this assignment you will be primarily marked for producing working scoreboard how ever it is also important to make one that looks visually appealing and is easy to use.

For each display field a user should be easily able to reset a desired field.

Sample Image of a real score board.

Arcade Shooter Game

Details to come

Helpful FLA files




Leave a Reply

You must be logged in to post a comment.