开发者

Multiline Text in Flex 4

In Flex I want to create a Text file and it is wor开发者_如何转开发king, but the problem is all inputs are written in one line;

here the cods

        addText.text="[ \r\n"
        addText.text=addText.text+"] \r\n";
        fileRef.save(addText.text, "data.txt"); 

the current result is like below;

[]

how can I make it like this;

[
]


i would start trying

addTextxt.text = "[ \n ]";

it normally works in all cases...

good luck ( :

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜