The @ symbol is only converted to a URL when reading a BXML file. It doesn't
work in a JSON file. You'll need to put your localized text in the JSON file
itself.
G
On Jan 27, 2011, at 1:49 PM, Aanjaneya Shukla wrote:
> Hi,
> I am trying to load a text file from json into the window as
> JSON:
> {
> Text:"@sample.txt"
> }
> BXML:
> <TextArea text="%Text"/>
>
> So instead of loading the text into the TextArea from the file sample.txt, it
> only it shows '@sample.txt' as the text in the TextArea.
>
> Same logic works fine for images.
>
> Thanks