Solved

How can I browse a directory in flash as3?

Posted on 2009-04-12
4
552 Views
Last Modified: 2013-11-11
Can you show me how to browse a directory to select a file to play?  The directory will be the same directory as the swf file searching for it.
0
Comment
Question by:ForLoop5
  • 2
4 Comments
 
LVL 37

Expert Comment

by:CyanBlue
ID: 24128042
You can do that to upload the file, but you cannot do that to play something for security reason...

CyanBlue
0
 
LVL 1

Author Comment

by:ForLoop5
ID: 24129255
So I cannot  browse the same directory that the swf file is in and select a song an play it?
0
 
LVL 37

Accepted Solution

by:
CyanBlue earned 250 total points
ID: 24130794
No, you cannot...

CyanBlue
0
 
LVL 5

Assisted Solution

by:Abiel de Groot
Abiel de Groot earned 250 total points
ID: 24131490
You really need some form os scripting language to in index the drive or folder. It would then be able to convert what it finds into and XML which Flash could then read.

A.
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question