Hey Everyone,
So I have done several Flex projects, but I want to put up one that is my own Flex project that anyone can see how I program it.



*Note* – Some features are disabled for demo purposes, but code is complete.
I use a combination of Flex/AMFPHP/MySQL. As you know I try to stick to open source and an open architecture. I know that Flex isn’t exactly open source yet (although its getting pretty close and in many respects is open source), but I know that it is the future. I have seen a lot of new jobs for Flex people popping up. Hope this helps some of you to get started. Please comment on it and tell me what features you would like to see and I will be working on documentation, easy installation and customization functionality. Thanks and enjoy!
Installation Instructions:
1. Download All Code
2. Run the SQL Query in the “MySQL” directory on your SQL server.
3. Download and install AMFPHP on server
Download AMFPHP
Video Tutorial on Installing AMFPHP
4. Overwrite the “services” folder in the AMFPHP on your server with the “services” folder included in the AMFPHP folder of the code.
5. Edit the “connect.inc.php” file in the “services” folder to your database connection variables. (e.g.
define( “DATABASE_SERVER”, “http://www.your_server.com” );
define( “DATABASE_USERNAME”, “database_username” );
define( “DATABASE_PASSWORD”, “database_password” );
define( “DATABASE_NAME”, “database_name” );
6. Import Flex code into Flex Builder (trial is available) or Eclipse with the Flex SDK installed and change the variable named “AMFPHPCONNECTIONSTRING” in the”Connection.as” file to your AMFPHP server URL. (e.g. public var AMFPHPCONNECTIONSTRING:String = “http://www.your_domain.com/amfphp/gateway.php”;
7. Compile Flex code in your Flex Builder or Eclipse and enjoy.
I know these seem like a lot of steps, but they are generally not that hard (maybe the compile code in Flex if you have never used Flex). I would love to make this process very automated, but I am not sure how to make the compile with the proper AMFPHP Connection String in Flex automated in an way. Any suggestions would be great! Thanks and tell me what you think!
[ad#co-1]
