hide side navigation
    5 most recent
    Web Services
    Library's
    Component's
    Applications
  Tree menu  Flex 2 Guestbook  Videobox  Simple mp3 player  Videoroom  Moving menu  Flash db board reader  Simple photo gallery  Simplecart and External Interface  Email in Flash II  Photo and Video gallery  New Store  Flash GuestBook V2  Flash-db Miniboard  ActionScript dictionary  Private chat with FlashCom  Flash Whois  An online store  Flash RSS reader  Net Tools - Whois in Flash  Flash Message Board  Flash GuestBook  Email in Flash  Sending Custom Ecards  Simple Live Counter with PHP
    Articles
Current Page (1) Next Page >>  View Article Example >> 1 | 2 | 3 | 4 | 5 | 6

Introduction

This tutorial shows you how to create a simple Guest book in Flash.  This Guest book is simple, efficient, fast, and easy to implement. Their are no complicated database or xml issues to worry about.  One swf, one script, and one text file. Put it together and you'll have a great Guest book for your site.  In this example we use a PHP script but after you understand how it works it should be fairly easy to write the same script in Perl, ASP, or Cold Fusion.  With a couple of modifications and some additions to the non-existent administration side you'll be able to create almost anything you want out of it.  For a working example of this please visit: http://www.flash-db.com/GuestBookTut/

Theory:

This Guest Book works by storing user entered information in a text file.  The script that is used organizes the data according to when it was entered, in a way that the newest entries are always first.  All of the entries are separated by a pattern that the script later splits into an array.  The array is then manipulated according to commands sent from the Flash movie.  In this way we can organize the data that is returned to the flash movie.  The script returns a fixed amount of data back to the flash movie at one time (default is 10 entries), making the time it takes to view the entries minimal.  Their are quite a few modifications that can be added by further manipulating these array's.  Using this technique our simple Text file becomes a database that we can organize, sort, and filter.  Best of all it will work on any server as long as you can run some type of server side script and can change the permissions of a text file.

Current Page (1) Next Page >> 1 | 2 | 3 | 4 | 5 | 6