Your download includes everything you need to create a stand-alone flash guestbook or a guestbook to add to your html pages. You do not need the Flash Authoring application.
After unzipping the files, upload all contents of the folder to a directory on the server.
In your ftp program right click or (control click on mac) on the "data" folder and select "set permissions" or if that's not available, "get info". It will depend on your ftp program. Fetch looks like the image to the left. Set permissions to 777. This will allow php to write new entries to the folder. That's it. You should not be able to load guestbook.php in your browser and add entries.
Your download comes with everything you need to create a custom looking guestbook to add to your project.
The default size limit for entries is 100K. If you feel that is a bit restrictive, you can set your own limit. The easiest way to do that is to open guestbook.html and find the following like of code:
so.addVariable("maxDrawingSize", "100")
And change the 100 to whatever you want it to be.
If you are using the guestbook within another flash project, you will want to modify the maxDrawingSize parameter of the component.
To change the way the guestbook looks, you will need to have flash authoring software. If you don't have it, you can download a fully functional 30 day free trial from the Adobe site.
Open guestbook.fla and open the library. There you will find all the elements that are used in the guestbook. You can modify these to your liking, just don't change the names of any elements, as that may stop the guestbook from functioning.
If you are using the guestbook in another flash movie, you will need to transfer the guestbook assets folder into your project in addition to the guestbook component.
By default, the guestbook will look in the same directory for all the necessary files. If you want to use the guesbook ouside the guestbook folder, you will need to let the guestbook know where all the relevant files are. To do so, pass the datapath variable to the swf with the path to the main guestbook folder.
Example:
var so = new SWFObject("nifties/guestbook.swf", "gallery", "100%", "100%", "6", "#FFFFFF");
so.addVariable("datapath", "nifties/guestbook/")
so.write("flashcontent");
© Copyright 2010 FlashNifties.com | savdesign.com