???????????asp.net?Flex?????????flex????????


????????flex???????????????????????????????
????HttpService??
????WebService??
????RemoteObject??
????RemoteObjectAMF0??


????????Project??????е?
????Vs2010Service??HttpService??Webservice????
????Vs2008RemoteObject??RemoteObject????


???????FluorineFx.NET+RemoteObjectAMF0?????????????


?????塢<sessionState cookieless="AutoDetect"></sessionState>
???????????????????Cookie(???Flex????д????sessionid)


????????asmx?????session???[WebMethod(EnableSession = true)] ??????á?


??????????FluorineFx.NET+RemoteObjectAMF0????μ?setup(FluorineFx.NET).exe
??????????????彎???2005??2008?У??????vs2010??
 

?????????????е???彨??????????FluorineFx ASP.NET Web Site???????
??????Console.aspx?????????????????е?????????
 

??????????RemoteObjectAMF0???renaun_com_RemoteObjectAMF0.zip?????src?μ?
????com????????帴???flex????У?
???????·????mxml?·????
????RemoteObjectAMF0.as?е?override public function setCredentials( username:String?? password:String):void??????override public function setCredentials( username:String?? password:String??charset:String=null ):void??
???????xmlns:renaun="com.renaun.rpc.*"??<mx:Application ……?С?
 

?????????????RemoteObject??mxml??????????services_config.xml??????????£?

 

<?xml version="1.0" encoding="UTF-8"?>
<services-config>
<services>
<service id="remoting-service"
class="flex.messaging.services.RemotingService"
messageTypes="flex.messaging.messages.RemotingMessage">
<destination id="fluorine">
<channels>
<channel ref="my-amf"/>
</channels>
<properties>
<source>*</source>
</properties>
</destination>
</service>
</services>
<channels>
<channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
<endpoint uri="http://localhost:12432/ReomteFlex/Gateway.aspx" class="flex.messaging.endpoints.AMFEndpoint"/>
</channel-definition>
</channels>
</services-config>

???????http://localhost:12432/ReomteFlex/Gateway.aspx????????????仯??
???????Flex??????-????-Flex compiler-compiler??????-locale en_US -services "services_config.xml"??