The following example shows how you can create a custom label function on an Adobe AIR FileSystemTree control by setting the labelFunction property to a custom function.

Full code after the jump.

The following example creates a custom label function which appends a string to hidden files and folders:





    
        

    
        
    

    


The following example creates a custom label function which displays the document’s file size (in kilobytes) next to the file name:





    
        

    

    


Tagged with:
 

Leave a Reply

Your email address will not be published.