Posts tagged as "AMFPHP"
  • 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
Get Adobe Flash playerPlugin by wpburn.com wordpress themes