hide side navigation
    5 most recent
    Web Services
    Library's
    Component's
    Applications
    Articles
  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
 Read Full Documentation >>

Using the remoting connector in Flash MX Professional 2004: editing a table

By: Jorge Solis

Goals and requirements

Our goal is to edit and update a catalog of products (cold cuts and spanish ham). Users will be able to load a list of products, and then edit and update the list. Our data source is a MySQL database and we will be using amfphp (Flash remoting for PHP) to communicate with it. You will need to have a PHP enabled server, MySQL, the Remoting Components for Flash MX 2004>> and amfphp >>. The remoting connector is available here >>. You will need to use the remoting connector found on that link as it is the only remoting component compatible with ActionScript 2.0. If you are unfamiliar with what we are talking about, it is recommended to first read: Hello World Remoting >>, an introduction to Remoting through amfphp as well as the Amfphp documention >>, which is found here >>. You may also want to review the data binding tutorial, which can be found here >>, before preceding.

The example files for this tutorial can be found here:  examples files. You may want to look them over before moving all. You will need to own Flash MX Professional 2004 (or trial version) to open up the files and continue on with this tutorial. You'll also need to have the Flash 7 player installed to view the below example.

Below is the working movie. Select a cell, modify the data and press update button. The view results button will display a non editable table containing the new data. When finished testing, please press the reset button so the list is returned to the default settings.

Read Full Documenation >>