Solved

How can I browse a directory in flash as3?

Posted on 2009-04-12
4
549 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 your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
The viewer will learn how to dynamically set the form action using jQuery.
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…

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now