0 Replies Latest reply on Mar 1, 2011 10:02 AM by Arul pugazh

    How to use FileSystemTree ?

    Arul pugazh

      I tried to insert a FileSystemTree in Flex .

      Flash Builder doesn't recognise that and produces the error:

       

          1046: Type was not found or was not a compile-time constant: FileSystemTree

       

      Here's the code . It's a very basic one ....

       

          <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>

       

      I'm using Flex 4 , Flash Builder 4. What am i doing wrong ? Both FileSystemTree and FIleReference produce errors

       

       

      Any suggestions welcome.........