This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to read a property file using Action Script

 
Neelima Mohan
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a property file (fileProperties.txt) which contains a name value pair like below:

FileLocation1 C:/Test/Lookup.xml
FileLocation2 C:/Test/Multiple/MultiLookup.xml

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.

Thanks,
Neelima
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic