hide side navigation
    5 most recent
    Web Services
    Library's
    Component's
    Applications
    Articles
  Flash button as Flex icon  Flex form by email  Hello Remoting with AS3  AS3 Saving data from Flash  AS3 Loading data into Flash  Fire Effect  Contact form  Dragable buttons  Hello World with openamf  Loading helper classes  Upload with Flash 8  Transitions effects  Snapshot with Flash 8  Hello World Remoting AS2  Flash AS2 Remoting Connector  Saving data from Flash  Loading data into Flash  FlashCom & Remoting login  Cell Renderer API  Editing a table using remoting components  Flash MX2004 web service classes  Browsing a catalog  amfphp Documentation  Hello World Remoting  Online Store with AMFPHP  Flash clients for Web Services  Web Service Walk Though with NuSoap  Popup windows in flash with javascript  Installing Apache/PHP  MoreOver News Feeds  Load Edit Save Text Files via CGI  Save Movie Clip Postion via PHP and MySQL
Current Page (1) Next Page >>  View Article Example >> 1 | 2 | 3 | 4 | 5

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.flash-db.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.

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