Check out "Localizing Flex Applications" in the documentation, it should tell 
you all you need to know.
Although, the resource files do get compiled into the application (as I 
understand it, anyone who knows otherwise please do correct me), 
so maybe it's not quite what you need in this instance. 
I'm not entirely sure that a database connection string is best placed in the 
client either, for that matter!


-----Original Message-----
From: [email protected] on behalf of Hasan Maqbool
Sent: Fri 04/07/2008 07:28
To: [email protected]; [EMAIL PROTECTED]
Subject: [flexcoders] I am looking for flex property file?
 
Hey techies,
Actually, I need to set some global urls which are subject to change. So, I
can't hard code them in the application. I want to get these urls from some
property file just like the standard procedure in other frameworks like
.net. But I can't find any property file for flex yet. Let me tell you the
exact problem,
I have some database connection string, and obviously I can't put it in the
code as it is subject to change. So, how can I manage my database connection
string. I am using flex as front end and my backend is ruby on rails. My DAL
(Data access layer is tatally xml based). Can anybody tell me how to
incarporate this connection string in a global project property file and
then retrieve that string from action script?

Thanks in advance.

-- 
Muhammad Hasan Maqbool
Software Engineer
Techlogix Pakistan (Pvt) Limited
+92-321-6690881


______________________________________________________________________
This communication is from Primal Pictures Ltd., a company registered in 
England and Wales with registration No. 02622298 and registered office: 4th 
Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT 
registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read, copied and 
used only by the intended recipient. If you have received it in error, please 
contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 
1010. Please then delete the e-mail and do not disclose its contents to any 
person.
This email has been scanned for Primal Pictures by the MessageLabs Email 
Security System.
______________________________________________________________________

<<winmail.dat>>

Reply via email to