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
Solved

How can I browse a directory in flash as3?

Posted on 2009-04-12
4
551 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…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

856 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