0 comments
07/10 2006
Flex :: AMFPHP Login
The subject pops up a lot about reusable Flex components. Here’s one to handle multi-user logins via AMFPHP / MySQL:
< ?xml version="1.0" encoding="utf-8"?> <mx :Canvas xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" width="355" height="213"> </mx><mx :Script> < ![CDATA[ import flash.net.Responder; public var gateway:RemotingConnection; public function checkLogin( service:String, params:Array ):void { gateway = new RemotingConnection( "http://yourwebserver.com/flashservices/gateway.php" ); gateway.call( service,new Responder(onResult,onFault),params ); } public function onResult( result:Array ):void { if (result[0]!="VALID") { lResponse.textREAD MORE
07/3 2006
The Joy of E4X!
Prior to AS3, working with XML was a drag. The semantics of manipulating an XML object definitely left much to be desired. Well, AS3 changed all that by bringing us E4X. If you don’t already know, E4X stands for ECMAScript for XML and it introducesREAD MORE
06/22 2006
ColdFusion/Flex :: Marriage Made in Heaven
Found a link to a pretty cool preso by Ben Forta on using ColdFusion as a backend to Flex 2. He covered a lot of ground and gave some compelling arguments for choosing CF as your Flex backend. Since switching from IIS to Apache IREAD MORE