Solved

How can I browse a directory in flash as3?

Posted on 2009-04-12
4
553 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
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 how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

734 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