开发者

Multiline Text in Flex 4

开发者 https://www.devze.com 2023-02-14 06:21 出处:网络
In Flex I want to create a Text file and it is wor开发者_如何转开发king, but the problem isall inputs are written in one line;

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

精彩评论

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