The guestbook file is virtually identical to the one which runs the 'perl' version. I only slightly reset a few values on one of the frames. Otherwise like that version you need to tell it where to reference the guestbook entries.
There are two places this occurs:
1. In the frame labelled start. (This is for calling in the entries to the Flash file.)
2. On the submit button. (For sending the new entry to the database.)
You need to change the
Load Variables ("http://www.yoursite.com/guestbookentries.cfm", "", vars=POST)
to the location of your guestbookentries file.
Variables are called in from the database by using the 'POST' method. It is possible to use 'GET' but remember, this appends the data in the query string, and is good only for a few thousand characters.
If you're lost at this point of the tutorial, either you don't have enough knowledge or I'm delivering this information poorly, either way you should go outside and feed the fish.
That's all as far as the flash file is concerned. The rest is ColdFusion and database stuff.
|» Level Advanced|
Rating: 8 Votes: 161
|No information about the author has been provided|
|Download the files used in this tutorial.|
|Download (1159 kb)|
|More help? Search our boards for quick answers!|