DIG2500c_lecture11 - Fall 2009 Semester Dr. Rudy McDaniel...

Info iconThis preview shows pages 1–10. Sign up to view the full content.

View Full Document Right Arrow Icon
DIG2500c: Fundamentals of Interactive Design Fall 2009 Semester Dr. Rudy McDaniel Lecture 11: ActionScript Programming: The Basics, Part 4
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Review from Last Week Building Minimal Activity Organizing the Timeline for Interactivity Functions
Background image of page 2
This Week Discussion of Homework Functions (Brief Review and Activity) New Topic: Randomization
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Discussion of Homework How did your simple two-state interactive design turn out?
Background image of page 4
Last Week’s Homework Organize your own simple interactive animation in the fashion of Eggo the Alien. Use at most two simple interactions for now. Use a project idea of your own, or you can use the following idea: create a drawing of a nitrogen tank, then have a balloon expand each time the tank is
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Functions A Brief Review
Background image of page 6
Function Invocation To make a basic function we specify a function name and a block of statements to perform, like this: function funcName (param1, param2,. ..paramn) { statements }
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Running (Calling) a function Here’s a function: function sayHi () { trace("Hi there!"); } We run the function by calling it’s name sayHi();
Background image of page 8
Parameters We supply a pair of parentheses, (), that
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 10
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/21/2011 for the course DIG 2500 taught by Professor Mcdanial during the Fall '09 term at University of Central Florida.

Page1 / 28

DIG2500c_lecture11 - Fall 2009 Semester Dr. Rudy McDaniel...

This preview shows document pages 1 - 10. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online