Skip navigation
1942viva
Currently Being Moderated

how to open a new folder then select a file?

Aug 22, 2012 1:55 AM

when we use a mp3 player(desktop app).we can view the song in a new folder after we right click on it and choose view.how to do it on air?

all i can do is just like this:

var file:File = new File();

                                        file.nativePath=songArray[rolloverItemIndex].url

                                        file=file.parent

                                        file.canonicalize()

                                        file.openWithDefaultApplication();

just open new folder but can't auto selecte the file that i want.

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points