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