Lesson 15. A Component-Based Flash Quiz
In this lesson, you'll complete the first part of the book's final project: a Flash-based quiz that records user's scores and identities into a database. As you look back over all you have learned, from interface layouts and static Web page design, through Macromedia Flash ActionScript and Dreamweaver and ColdFusion, you'll see that you have learned quite a bit. In this final project, you'll have a chance to pull it all together. The result combines a sleek Flash user interface, some ActionScript, a bit of ColdFusion coding, and data that gets sent in and out of Flash to a database. Before you worry about sending data, you'll need to build the Flash interface that collects the data. Macromedia Flash Professional 8 comes with a set of components that you can use to automate interface building. You got a taste of components when you used the TextArea component in Lesson 11, Nonlinear Flash Interactions , and Lesson 12, Drag-and-Drop Interactions . In this lesson, the components you'll use are a bit more complicated; you'll have to set more parameters, but you'll be pleasantly surprised at how easy it is to mock up a quiz using components. Flash Professional 8 components, such as the ComboBox component shown here, make creating Flash-based user interfaces a snap.Lesson 16, Flash, ColdFusion, and the Database , you'll learn how to send that data to a database via ColdFusion, but in this lesson you'll score the results and display them in the Flash testing and debugging environment. You'll also add ActionScript that will verify that the user entered something for each questionif she or he doesn't, an error message will display. If you want a quick refresher on how the Flash movie looks and feels, go back to http://www.allectomedia.com/dante_8/dante/ and take the test again.