還在為學Flex找不到較好的資源發愁嗎?大象給你推薦幾個還不錯的網站,保證不是騙點擊。^_^
1、http://www.adobe.com/cn/devnet/
adobe中文開發網站,主頁信息很多,我們關注其中的Flex和ActionScript。如果你喜歡桌面應用,AIR肯定有你感興趣的東西。對于Flex的學習,官方網站當然是第一選擇。
2、http://blog.flexexamples.com/
Flex例子的海洋,主要以組件如何使用或者類的某某屬性如何使用舉例說明。minidx中的絕大部分都是翻譯這里的文章。英文好的銀就去這里看吧,里面已經有很多關于Flex4的東東了。
3、http://blog.minidx.com/
這網站的博主是一個很勤奮的家伙,里面有很豐富的關于Flex的實例,很有學習價值。主要是翻譯flexexamples里面的文章,也有自己的原創。對于英文不好的朋友,這里就是你的首選了。最近去看時發現,博主準備換服務器了,不知道域名變不變,大象會隨時關注并更新滴。
4、http://flex.org/
大名鼎鼎的Flex權威網站,集成了與Flex有關的大多數信息,最令人興奮的是它無比豐富的組件庫。只要你耐心找,就可以找到你想要的。拿來使用是其次,學習高手的源碼才是最重要的。
5、http://ntt.cc/
國外的關于Flex方面的又一個重量級網站,不說廢話了,看了就知道。
6、http://www.actionscriptclasses.com/
很全的一個類庫網站,全世界的Flexer在這里共享自己的AS類。如果有不會寫的,先來這里看看,很可能有人已經放上去了。呵呵!
7、http://www.9ria.com/html/index.html
天地會,國內非常大的一個RIA技術綜合站點,也是開發者的交流平臺,推薦大家經常去看看。
8、www.airia.cn
艾睿網,富IT技術開發者社區,有比較豐富的入門教程。
轉載自:http://www.aygfsteel.com/bolo/archive/2010/02/21/313567.html
最近不少網友反映使用Fluorine實現Flex與.NET通信老是出錯,原因肯定不一樣,為節約時間,我想有必要整理一下Flex RPC常見錯誤。此處先整理一下Flash Remoting方面的,后續會加上HTTP Service和Web Service的。
一、Flex Remoting
- Channel definition, mx.messaging.channels.RTMPChannel, can not be found...:最新版的Fluorined在services-config.xml中新增了RTMP Channel,主要是用來配 置Flex Messaging,編譯時需要FDS.swc支持,當然如果不需要此功能可以注釋掉channel-definition這個節點。
- RPC Fault faultString="The requested type... is not accessible":Flash Remoting服務名不對。詳見Flash Remoting支持的遠程服務。
- RPC Fault faultString="Could not find a suitable method with name ..." :找不到對應的方法。首選看方法名對不對,再看方法的參數個數, 參數類型,還要檢查返回數據的類型。關于數據的類型詳見Flex AS3數據類型轉換成Fluorine數據類型和 Fluorine .NET數據類型轉換成Flex AS3數據類型。
- NetConnection.Call.Failed: HTTP: Status 404: url...: '虛擬主機的域名/子目錄/Gateway.aspx'":沒將Root URL設置為虛擬主機的域名。詳見Flex Bulider 2與Flash cs3的發布文件 。
- RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed errorNetConnection.Call.Failed: HTTP: Status 404: url: 'http://localhost/Gateway.aspx...'": Root URL中包含的Context與Context root中設置的不一致。
- [RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Security.Error error Error #2048...: 安全沙箱沖突
- RPC Fault faultString="MessagingError message='Destination 'fluorine' either does not exist or the destination has no channels defined (and the application does not define any default channels.)'" faultCode="InvokeFailed" faultDetail="Couldn't establish a connection to 'fluorine'"...:FluorineFX沒配置或destination 沒有定義channels(默認是fluorine),詳見配置支持Fluorine Remoting的Web應用
- ReferenceError: Error #1056: 無法為 ...創建屬性...:當使用[RemoteClass(alias="XXX")],客戶端與服務器端Value Object映射時屬性名不一 致。
二、Http Service
- faultCode:Server.Proxy.Request.Failed faultString:'HTTP/1.1 404 Not Found' faultDetail:'HTTP/1.1 404 Not Found':url錯誤。
- faultCode:Channel.Security.Error faultString:'Security error accessing url' faultDetail:'Destination: DefaultHTTP':不使用代理時遇到 安全沙箱沖突。
- The URL specified XXX is not allowed by the selected destination 'DefaultHTTP:使用默認終端代理時遇到安全沙箱沖突。
- No destination with id XXX is registered with any service/MessagingError message='Destination 'students' either does not exist or the destination has no channels defined (and the application does not define any default channels.)':.使用命名終端代理時,destination不一致。