Search Tutorials
Introduction In Part I of this tutorial, we discussed passing values into Flash and the requirements for doing so. By using a simple text file or a more complex CGI script on your server, you can dynamically create interfaces for capturing user feedback, such as in our User Survey above. In this part of the tutorial, we'll talk about some of the gotchas for passing values from Flash back to your CGI. You'll need something on the backend to process the user's response, even if you're just using a text file with URL-encoded values for your questions and answers. Note that there are several cross-browser and cross-platform issues with things such as determining whether a user has already answered a question or filled out a survey. Because of this, you may want to add more checking to your Flash movie to prevent people from over-using your latest feature. Once again, your Flash movie is essentially going to act as a web browser, only this time we're focusing on the collection rather than the display of information. By using variables within Flash and storing them in the proper place, we can pass these values from Flash to our CGI. This time though (at least in our demo) we don't need to be concerned with the URL-encoding of these values.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|