Are you seeing the "\r" in the text field? I´ve never worked with amfphp,
but maybe try to re-escape the string such as
input_str = input_str.split("\\r").join("\r");
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter Oliver
Geller
Sent: Thursday, August 10, 2006 4:44 PM
To: 'Flashcoders mailing list'
Subject: AW: [Flashcoders] Problem with escape sequenz in AMFPHP
I tried it before, but doesn´t work also.
Gave me the same ouptut like the \n thing!
Becks ist nur zum testen da :]
Cheers
Pete
::::::::::::::::::::::::::::::::::::::::::::::::::
Peter Oliver Geller
virtual effects artist
interactive design & development
Ricarda-Huch-Str. 7 50858 Cologne
02234 - 99 52 63 phone
0163 - 63 66 088 mobile
www.pixel-gallery.com
[EMAIL PROTECTED]
::::::::::::::::::::::::::::::::::::::::::::::::::
»» -----Ursprüngliche Nachricht-----
»» Von: [EMAIL PROTECTED]
»» [mailto:[EMAIL PROTECTED] Im
»» Auftrag von André Goliath
»» Gesendet: Donnerstag, 10. August 2006 16:37
»» An: 'Flashcoders mailing list'
»» Betreff: RE: [Flashcoders] Problem with escape sequenz in AMFPHP
»»
»» try \r instead of \n
»»
»» Normalerweise unterstütze ich ja keine Bierwerbung ;)
»»
»» -----Original Message-----
»» From: [EMAIL PROTECTED]
»» [mailto:[EMAIL PROTECTED] On Behalf
»» Of Peter Oliver Geller
»» Sent: Thursday, August 10, 2006 4:33 PM
»» To: 'Flashcoders mailing list'
»» Subject: [Flashcoders] Problem with escape sequenz in AMFPHP
»»
»» Hi list,
»»
»» i want a linebreak in my flashapplication but it doesn´t work.
»»
»» In my Database i have the following string "Back´s\n.Pure
»» frische. bla bla bla", i have the escape sequenz (\n) in
»» there to force a linebreak in my flash textfield, but it
»» doesn´t work.
»»
»» I get the data via amfphp newest version and pull it into my
»» textfield from the recordset.
»» But flash show me the whole string from my database instead
»» of a linebreak.
»»
»» Should i write me a function to displace me the string or
»» can i set something in the amfphp gateway.php?
»»
»»
»» Don´t know whats the best way for that?
»»
»» Thanks for help
»»
»» Pete
»»
»» ::::::::::::::::::::::::::::::::::::::::::::::::::
»» Peter Oliver Geller
»»
»» virtual effects artist
»» interactive design & development
»»
»» Lindenstr. 14 50674 Cologne
»» 0221 - 92 42 81 52 phone
»»
»» <http://www.pixel-gallery.com/> www.pixel-gallery.com
»» <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
»» ::::::::::::::::::::::::::::::::::::::::::::::::::
»»
»» _______________________________________________
»» [email protected]
»» To change your subscription options or search the archive:
»» http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
»»
»» Brought to you by Fig Leaf Software
»» Premier Authorized Adobe Consulting and Training
»» http://www.figleaf.com http://training.figleaf.com
»»
»» _______________________________________________
»» [email protected]
»» To change your subscription options or search the archive:
»» http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
»»
»» Brought to you by Fig Leaf Software
»» Premier Authorized Adobe Consulting and Training
»» http://www.figleaf.com http://training.figleaf.com
»»
»»
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com