Skip to content
Dec 14 /

Determining the selected path for a FileSystemTree control in Adobe AIR

The following example shows how you can get the selected path on an Adobe AIR FileSystemTree control by using the selectedPath property.

Full code after the jump.

<?xml version="1.0" encoding="utf-8"?>
<!-- http://airexamples.com/2008/12/14/determining-the-selected-path-for-a-filesystemtree-control-in-adobe-air/ -->
<mx:WindowedApplication name="FileSystemTree_selectedPath_test"
        xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical"
        status="{tree.selectedPath}"
        verticalAlign="middle">
 
    <mx:FileSystemTree id="tree"
            width="100%"
            height="100%" />
 
</mx:WindowedApplication>

One Comment

leave a comment
  1. Hashim / Aug 31 2010

    how could we open some specific folder path by default

Leave a Comment

Spam Protection by WP-SpamFree