Re: [Flashcoders] as like php?

2005-11-28 Thread MetaArt
Well, I try as you suggest... I create a mc with an input txtfield inside, another mc with a dynamic textfield, and a button with this action: on (release) { var mytxt = _root.intxt.intxt; mytxt = "a\nb\nc\n"; mytxt = mytxt.split("\n").join(""); _root.outxt.testo = mytxt; } where 'intxt' is the

Re: [Flashcoders] as like php?

2005-11-27 Thread Michael Klishin
MetaArt wrote: I'm developing a standalone Flash appl, to apply some format to text. The appl will work on user's desktop, so I can't use php or any other server-side language. In php, to allow users insert a break row just typing the Enter key, I use this code: where $message is the text to whi

Re: [Flashcoders] as like php?

2005-11-27 Thread Michael Klishin
MetaArt wrote: I'm developing a standalone Flash appl, to apply some format to text. The appl will work on user's desktop, so I can't use php or any other server-side language. In php, to allow users insert a break row just typing the Enter key, I use this code: where $message is the text to whi

[Flashcoders] as like php?

2005-11-27 Thread MetaArt
I'm developing a standalone Flash appl, to apply some format to text. The appl will work on user's desktop, so I can't use php or any other server-side language. In php, to allow users insert a break row just typing the Enter key, I use this code: where $message is the text to which apply the conv