0
我試圖在Flex中插入FileSystemTree。 Flash Builder不承認,併產生錯誤:如何將FileReference和FileSystemTree導入到ActionScript
1046: Type was not found or was not a compile-time constant: FileSystemTree
下面的代碼。這是一個非常基本的....
<mx:HDividedBox width="100%" height="725" paddingLeft="10" paddingRight="10" paddingBottom="10" paddingTop="10" y="41">
<mx:VBox width="200" height="100%">
<mx:FileSystemTree id="fileSystemTree" width="100%" height="100%" change="onChange(event)" />
</mx:VBox>
<mx:Canvas width="100%" height="100%" id="content" ></mx:Canvas>
</mx:HDividedBox>
我正在使用Flex 4,Flash Builder 4.我做錯了什麼? Flex 4支持FileSystemTree嗎?
謝謝米勒,所以沒有辦法從flex上載電腦文件? – vettipayyan 2011-03-02 11:28:08
嗨vettipayyan,我編輯了我的答案,讓我知道你是否仍然有問題。祝你好運。 – 2011-03-02 19:20:48
再次感謝您Mueller ...在您提到AIR應用程序後,我已經查看了diff bw air和flex。我認爲AIR會適合我的應用程序。所以我現在正在AIR中編寫應用程序。順利地運行... – vettipayyan 2011-03-03 16:19:29