A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
this week in the
How to read a property file using Action Script
Joined: May 23, 2010
Aug 06, 2010 11:06:05
I have a property file (fileProperties.txt) which contains a name value pair like below:
From my ActionScript code I need to read in the fileProperties.txt and extract the Key/Value pair from this file wherein my key is for eg FileLocation1 & corresponding Value is C:/Test/Lookup.xml.
How do I go about this?
Any help is much appreciated.
Joined: Apr 14, 2004
Aug 09, 2010 06:52:39
Are you trying to read a file on the client machine or the server? If its the client, remember that Flash runs in a sandbox that prevents you doing this unless the swf is registered as trusted.
I agree. Here's the link:
subject: How to read a property file using Action Script
build problems and relative paths
Loading property file values to a hash map
Properties file location.
Simple Struts PlugIn Question
Writing in Properties File form Servlet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015