The following example shows how you can toggle file name extensions on the Adobe AIR FileSystemTree control by setting the showExtensions property.

Full code after the jump.



You can also set the showExtensions property using ActionScript, as seen in the following example:



Tagged with:

2 Responses to Toggling file extensions on the FileSystemTree control in Adobe AIR

  1. david says:

    Thanks for these air examples!
    I think you forgot the actionscript code in the second example (it appears to be the same mxml code as in the first example).

  2. Peter deHaan says:


    Nope, the ActionScript code is “cleverly” buried within the CheckBox control’s change event handler in the MXML:

    tree.showExtensions = checkBox.selected;


Leave a Reply

Your email address will not be published.