Week 1
Orientation
Orienatation Slides (.pdf)Activity 1.1: Email The Instructor
- Send your instructor an email with the following
- Name
- Where are you from
- Flash and or ActionScrip Experience
- Expectations / What do you expect to learn?
- Special Interests
Send email to sager.joshua@pti.edu Make sure to set the SUBJECT LINE for ALL SUBMISSIONS to start with ADVMM: For example ADVMM: Email Activity
This Activity is worth 5 points.
ActionScript Basics
ActionScript Basics (.pdf)1.2 ActionScript Basics
- Download the ActionScript Basics (.zip)
- Open the file and follow the directions.
- Each section will require you to write code.
To submit, email the .fla to your instructor. This Activity is worth 15 points.
Week 2
Environment Setup
- Project Setup
- Starting a new project
- Folder setup
- Files
- Concept of Builds
- Create Flash File
- Document Class
- Introduction to Flash Builder
- Setup Workspace - VERY IMPORTANT
- Code hinting
- Compile with every save
- Debugging Tools
- Origin linking
- Navigator
- Ties into Flash IDE
- Trace statement
- MovieClip Instance
- Communication with MovieClip Instance
- Class Files
- What are classes
- Class File Names, Constructor Names, and Class Names
- Constructor
- Packages
Development Environment & Communication
2.1 Development Environment & Communication
Example of Basic Communication Activity
- Conncet a .fla to a flash builder project via a document class
- All ActionScript must be created via Flash Builder
- All visuals are to be created in the Flash IDE
- Set up the .fla document class to point to a class created with Flash Builder
- Create a Movie Clip of a ball ( in the Flash IDE ). Place the ball on the stage.
- Use ActionScript to modify the ball properties
- set x = 400
- set y = 200
- set alpha = .5
- *bonus use ActionScript to center the ball
- Create a dynamic text box ( in the Flash IDE ).
- input your name to the text box via ActionScript
- *Bonus change the font and size via ActionScript
Create 3 Private MethodsinitinitBallinitText
Zip up all src files (.7z) and email them as an attachment. This activity is worth 10 points
2.2 - Interactive Communication
Example of Basic Interactive Activity
- All ActionScript must be created via Flash Builder
- All visuals are to be created in the Flash IDE
- Create 5 Text boxes
- x
- y
- alpha
- scale
- rotation
- Create a Movie Clip of a rectangle 150 X 50
- Create an EnterFrame listner
- Tie each text box value to the appropriate rectangle property
Zip up all src files (.7z)and email them to your instructor as an attachment. This activity is worth 25 points.
Week 3
Object Creation
- Class Files
- Blue print for what is possible
- Packages
- Object Creation Pattern - Instantiation
var obj:Object = new Object();
addChild(obj);
- Properties
- Getters
- Setters
- Why
- Access Modifiers
- Public
- Private
- Internal
- Protected
- Application Programming Interface (API)
- Methods (aka functions)
- Public and Private
- Built in Objects
- Properties
- Methods
- ActionScript Diagram
3.1 - Object API
- All ActionScript must be created via Flash Builder
- Create a Monster Class
- Create getters and setters for all properties
- Create a color property
- Create a emotion property
- Create a type property
- Create a private method to draw a shape representing the monster, evoked by the consturctor
- Instantiate the monster object
- Create a UI for 3 options per each property
- When the color property changes, the object should change color
- Wire all buttons to manipulate monster and output results via a trace
Zip up all src files (.7z)and email them to the instructor as an attachment. This activity is worth 25 points.
Events and Listeners
Events and Listeners (.pdf) Events and Listeners in Practice (.pdf)Activity 3.2 - Events
- Download starting file and follow the directions
Email .fla to your instructor. This Activity is worth 20 points
Week 4
Inheritance
- Custom Classes via Extends
- Extending functionality is really easy
- Export for ActionScript
- SWC files
Interactivity & Responsiveness
- update()
- random
- The loop
- Particles via Arrays and Loops
- Collisions
- Easing
4.1 - Inheritance
- Create an Abstract Interactive Application:
- that responsds to user events
- moves, scales, fades, rotates, or changes a visual property via a user interaction
- Document Class
- must instantiate a custom built class
- Custom Class
- All functionality for the object must be built into the custom class
Zip up all src files (.7z)and email them to the instructor as an attachment. This activity is worth 25 points.
Week 5
Assets via Code
- Export for ActionScript
- Draw vector artwork via ActionScript
- Import Images / MovieClips
- Embed
- Loader
- SWC Files
2.1 - Object Creation
- 6 objects were created and displayed
- Two MovieClips Exported for ActionScript
- The MovieClips must animate and loop
- Two shapes drawn with ActionScript
- Two images Embedded via ActionScript
- Objects are placed in an organized and aligned fashion
- Document class was used via the Flash IDE
- A Class (.as) file contains all code
- init function was declared and used
- A new function was created and called to initialize each set of objects
Zip up all files and sumibt via email attachment. This activity is worth 15 points.
2.2 - Interactive Objects
- Every object (except for the bottom row) has button mode turned on
- Every object toggles either a property or method
- The circle toggles alpha 1,0
- The rounded rectangle toggles rotation 0, 45
- The star toggles play() and stop()
- The square toggles blur 50, 0
- Every toggle should be a new method
- Extra Credit
- Both images have button mode turned on
- Image 1 toggles hard light
- Image 2 toggles subtract
Zip up all files and sumibt via email attachment. This activity is worth 15 points.
Diagnostic Tools and Debugging
- On Your Own
- Tracing
- Commenting and un-commenting
- Bandwidth Profiler
- Export report
- Debugging
- Breakpoints
- Stepping through code
- Watching values
Other Objects
- Sound
- SWF
- Images
- Video
- XML
- Text
- Camera
Application Development
- Black box approach
- Model Control View
- Access Modifies
- private
- public
- internal
- protected
- Inheritance
- Packages
- State Development
- Event Dispatching
- Starting and Stopping the application
2.3 - Application Development
- Pick 1 of any of the 7 items listed in the Other Objects section
- Create two buttons
- One button should instantiate and display/play the object
- The other button should destroy and remove the object
- The application should be bullet proof
- The code must follow MCV practices
- The object must be loaded in from a custom create class
- Must take advantage of states
- Must use public declorations sparingly
- Must disptach an event complete state
This activity is worth 30 points. Zip up all files and email the .zip file to your instructor.
Display List
Display List (.pdf)3.1 Display List
- Create 5 overlapping and offsetting Red Sprite Circles.
- Make each circle click-able
- Set button mode to true
- The clicked circle should move to the top of the stack
Email the .fla to your instructor. This activity is worth 5 points.
- Create 5 overlapping and offsetting Blue Sprite Squares
- Make each square click-able
- Set button mode to true
- The clicked square should be removed from the display list
Email the .fla to your instructor. This activity is worth 5 points.
Week 6
Week 7
Interaction
Interaction Slides (.pdf) Interaction Demo (.fla) In Class FLA(.fla)Activity 5.1 - Interaction
- Download starting file and follow the directions
Email files to your instructor. This Activity is worth 20 points
Week 8
Game Development
Activity 5.1 - Marketing Game
- Create a game according to the flow chart. (.pdf) (.vsd)
- The game must have
- Functionality
- Hero
- Hero must be controled by either mouse or keyboard
- Distributed Enemies
- When Enemies collide with hero remove live
- Distributed Coins
- When Coins collide eithhero add score
- Distributed Power ups
- When power ups collide with hero give the hero an advantage
- Timer
- There should be a timer counting down towards the end of the level
- Score
- There should be a score that adds and resets for next game
- Lives
- The hero must have multiple lives
- Directions
- Explain how to play the game
- Replay
- Hero
- Aesthetics
- Must have a design background
- Must have designed charcters
- Must have animations
- Must have sound
This project is work th 50 points.
Week 9
Continue working on project.
Week 10
Continue working on project.
Week 11
External Content
XML-Widget Example (.fla) dataviz(.fla)- Images
- xml
- Stylesheets
- video
- audio
- Sandbox management