The main topics in today's class (05/14/08) were: 1. Explaining the if statement that was not explained very well on Tuesday and needed more time and a better example. 2. Developing an application to illustrate the if ( condition ) { TRUE ACTIONS } else { FALSE ACTIONS } discussion from day #2, Tuesday's class. 3. Textbox or Text tool and the Property Inspector choices Static Text Dynamic Text Input Text An application that required all three TYPEs of Textbox. userNumber_txt for the user of our Flash application to enter a number, such as 22 or 205 or 322 or 138. Type: Input Text out_txt for reporting whether the number was an EVEN or an ODD number. Type: Dynamic Text Unnamed Text tool created Textboxes to just describe or label what userNumber_txt is for and what the application does, and how to use it, etc. Type: Static Text CHECK BACK TO THIS PAGE LATER to see more about today's example, which included a button named: processNumber_btn 4. Using the MOD operator to illustrate the if statement. var n : int; n = 97; if (97 % 2 == 0) { evenOrOdd_txt.text = "EVEN"; } else { evenOrOdd_txt.text = "ODD"; } 5. ... more later 6. ... more later
Chapter 3 o Matching GameLinks to the Flash Game University games, including the CHAPTER 3 MATCHING GAME.
Chapter 3 o Matching Game Chapter 5 o Air Raid o Paddle BallLinks to the three Flash Game University games.