Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Desktop, Mobile and non-browser Environments > AIR (Apollo)

Reply
 
Thread Tools Rate Thread Display Modes
Old 01-21-2008, 12:17 PM   #1
shubs6
Adobe Flex 3 Certified
 
Join Date: Sep 2007
Location: New Delhi
Posts: 61
Default How to know Installation Folder?

In the Actionscript 3 code of my AIR application, I'm writing dynamically to an xml file which will be created in the installation directory of the user's system (\Program Files in windows AND /Applications IN MacOS) at the time of installation. When I'm running my app, I'll be writing to and reading from this file.

My problem is that I'm not being able to find the path of the installation directory in my code so that I can use that to access this file.
Please help..

Last edited by shubs6; 01-21-2008 at 12:22 PM..
shubs6 is offline   Reply With Quote
Old 01-22-2008, 04:45 AM   #2
shubs6
Adobe Flex 3 Certified
 
Join Date: Sep 2007
Location: New Delhi
Posts: 61
Default

Got the workaround. Use File.applicationStorageDirectory.
See the link http://www.adobe.com/cfusion/webforu...ab0c9f676b217d
shubs6 is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Folder / Files List linuxbox Server-Side Scripting 1 02-14-2007 07:35 PM
[php] copy files from folder A to folder B not working Paul Ferrie Server-Side Scripting 3 01-14-2007 07:24 PM
Checking if a JPG file exists in a folder mabulencia ActionScript 2.0 3 06-04-2006 07:18 AM
Checking if a Folder exists? Is it possible? recap ActionScript 2.0 8 07-12-2005 04:27 AM
Shared Folder, Resource Folder ... Reflex Other Flash General Questions 1 03-11-2005 06:16 PM


All times are GMT. The time now is 08:04 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.