A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Folder view

Hybrid View

  1. #1
    Junior Member
    Join Date
    Sep 2009
    Posts
    2

    Folder view

    Hello

    I'm trying to develop an application (flash 9 - actionscript) that will have the ability to present a folder tree on my computer and its content. Is there a way to do it in flash actionscript - like opening a window showing folder hierarchy ?

    BR
    Shir

  2. #2
    Ryan Thomson EvolveDesigns's Avatar
    Join Date
    Oct 2001
    Location
    British Columbia
    Posts
    3,338
    Maybe you could do that using Zinc to create your exe, but straight flash can't do that. The closest thing I can think of is the FileReference class which would at least open a browse window which displays folder content.

    PHP Code:
    import flash.net.FileReference;

    var 
    listener:Object = new Object();
    listener.onSelect = function(file:FileReference):Void {
        
    trace("Opened " file.name);
    }

    listener.onCancel = function(file:FileReference):Void {
        
    trace("User cancelled");
    }

    var 
    fileRef:FileReference = new FileReference();
    fileRef.addListener(listener);
    fileRef.browse(); 
    Evolve Designs Interactive Media
    the natural selection

  3. #3
    Junior Member
    Join Date
    Sep 2009
    Posts
    2
    Thanks 4 your reply. I am familiar with file reference,I used it in the past and thought also of using it this time\
    Thanks again

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center