0

I am an absolute beginner when it comes to ActionScript and Flash.
I am really a .NET developer.
I have been asked to modify a flash application that runs on Windows.
Currently it uses hard coded paths. My customer wants it to use the windows document folder for the current user.
Does ActionScript have a method to get the documents folder path?
Thanks.

1 Answer 1

1

You can't do this in Flash. When run locally flash has very restricted access. Basically just enough to get some external resources. How ever the AIR runtime was designed to provide more access to the underlying OS. What you need is flash.filesystem::File.userDirectory.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.