Best way for defining Static Messages

0 views
Skip to first unread message

Kiran Kumar Vasireddy

unread,
Dec 29, 2009, 2:49:02 PM12/29/09
to Flex India Community
Dear All,

In My project I am using static text messages in multiple places . If I want to change the text I have to go through all the pages and have to modify it . Can I know the best way to handle this? ( For example Alert header)

1) I am using Static AS class and defining them in one place and accessing them . But if I use the same for Label text or Button text I get not bindable warning . Of course nothing is going to harm but bit irritating.

2) I can also use resource bundle .

But want to get your suggestions what is industry standard way of defining these.

Regards
Kiran

 

FlexiSush

unread,
Dec 30, 2009, 12:32:53 AM12/30/09
to Flex India Community
Hi,
U can store text messages in XML file and can be used in multiple
places. when u need to change the text, u simply modify XML file. this
will eliminate recompilation...

On Dec 30, 12:49 am, Kiran Kumar Vasireddy <kiranv...@gmail.com>
wrote:

Reply all
Reply to author
Forward
0 new messages