• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Lesson 17. Flash, ColdFusion, and the Database

Lesson 17. Flash, ColdFusion, and the Database

In this lesson, you will get some practice sending data in and out of Flash, through ColdFusion, and into a database. And while I have pared down most of the data-sending to its minimal essentials so you can focus on the core architecture and code that makes it all work, you'll have the blueprints for much more complex architectures already laid out for you. That means that as you shift away from this book and back to your real-world job, you will not only have the concepts and experience to re-create much of what you have learned here, but you'll also have workable code that simply needs some tweaks to tailor it to different jobs.

You'll send data in and out of Flash, insert it into a database, and create a transcript page that accesses the Flash data using SQL.

As you work through this lesson, you'll probably be surprised at how little you have to do to make this all work. You'll write a very brief new script and add a half-dozen or so lines to the script you wrote in the last movie. But you will see that you've already done the majority of the work to get this portion of the eLearning application fully functional. In spite of how little you have to do, in terms of writing code and creating Flash objects, do not take this lesson lightly: You should make a concerted effort to understand how and why it all works. Without that understanding, the work of the lesson is all in vain.

WHAT YOU WILL LEARN

In this lesson, you will:

  • Send data in and out of Flash in several ways

  • Hand-code a ColdFusion page to insert data sent from Flash into a database

  • Learn how to use the loadVars object

  • Verify that data has loaded in Flash

  • Create the transcript page

APPROXIMATE TIME

This lesson takes approximately 1½ hours to complete.

LESSON FILES

Starting Files:

Lesson17/elearning/test.cfm

Lesson17/elearning/flash_test_processor.cfm

Lesson17/elearning/transcript.cfm

Lesson17/elearning/test_dante.fla

Lesson17/elearning/welcome.cfm

Completed Files:

Lesson17/elearning/test.cfm

Lesson17/Complete/flash_test_processor.cfm

Lesson17/Complete/transcript.cfm

Lesson17/Complete/test_dante.fla

Lesson17/Complete/welcome.cfm


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint