Archived entries for Development

User Login with Actionscript 3 and AMFPHP

Recently I’ve been experimenting with some components and frameworks for Flash CS4 in order to shave off some development time of a rather large application I’m building. And then I found, this later in the game, AMFPHP. Altough it’s not a framework by itself (it’s more like a Web Service), and the fact that it is now much more Flex-oriented than Flash, it can still save you plenty of time when dealing with serverside components from Flash.

One of my first attempts was to create a rather simple user login, comparing the user data from an actual MySQL database. The greatest thing about AMFPHP is that you don’t have to write anyspecific code to deal with the PHP data output format. This means no XML output, and therefore cleaner code from both ends. Continue to tutorial and sample files. Continue reading…

Storing Flash Variables into MySQL

Flash Meets MySQL

When I first needed a simple function to store a few Flash variables into a MySQL database (through PHP), I actually had to search more than I wanted to. So in order to save myself some future trouble (and time), I created a very simple AS3 class capable of receiving variables and passing them to a server-side PHP. Continue reading…



Copyright © 2004–2009. All rights reserved.

RSS Feed. This blog is proudly powered by Wordpress and uses Modern Clix, a theme by Rodrigo Galindez.