First time here? First time here? Newsletter Signup Newsletter
Search tutorials
Author: Jeffrey F. Hill | Website: http://www.snowvids.com


For this Tutorial you will have to have some basic knowledge of PHP and mySQL, hopefully you won't need much though.  It is also assumed that you have a good understanding of Flash 5 Actionscript.   What this tutorial basically does is to show you how to set up a table in a mySQL database, then using PHP (or asp with a few minor changes) manipulate that table and interact with Flash.  The first part of the Tutorial shows you how to create a unique user ID in the database, In this case it will be the persons name.  With a few minor changes however you'll be able to make it a secure password protected user login.  The unique user ID is required because in the next part we'll be saving the position of a couple movie clips and some of their property's.  In this way a user can return to the (your) site at anytime and the movie Clips will be in the exact same position that they left them in. I also added in a place for the user to add in a comment, which is also saved.  With a couple modifications you can turn that into a guest book or anything else you can think of.  For a working example of this tutorial please goto http://www.snowvids.com/Ex1/Ex1_SaveMovie.html. This is a much more of a hands on tutorial so it's helpful if you follow the scripts and Fla source included, in addition to viewing the working example at the same time. 

It is recommended that you read over the PHP scripts first. These have all been extensively commented.  In PHP the # symbol is a comment.  Also it may be best to try to follow the code in the included Flash movie along as well.  

» Level Advanced

Added: 2001-07-03
Rating: 8 Votes: 116
» Author
No details available.
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!
Featured Flash FLA
» Author: Inocreato
» Title: RaiseTheBlocks
» Description: Raise all the blocks to win the game
Featured Sound Loops
Image for equalize

Audio Player

» Author: TomCat Carty
» Title: The Wood
» Description: Just a little game ending or it can maybe be looped. Recorders with music box and percussion to give the feel of well, I don't know, the woods? Free to use, just credit me. thank you
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: Davisigner
» Description: Hmm... what to say about this one? It's reminiscent of the closing notes of the opening music from the Three Stooges done in a church organ style with a closing cymbal crash. I'll give this one away gratis, but feel free to check out my free loops and potential upcoming license-mandated ones over in the respective part of Flashkit.