Flash question
- Started
- Last post
- 6 Responses
- phirschybar
I'm pulling text from a database into textfields in Flash using php as middleware. All is working fine except the spacing of the text in the Flash textfield. The leading is really big when my users have a CARRIAGE RETURN in their text. When I reduce the leading manually in Flash, it helps but then when the text wraps, it gets cruched. Anyone ever deal with this?
- dave2270
http://www.php.net/manual/en/fun…
Give this is a shot in your php script, then change the dynamic text field in flash to enable html chars.
- mr_flaco0
replace the carriage returns to '
' and you should be good to go. Thats a good link dave, but for the &'s I use the unicode UTF-8 equivalent as flash uses the '&' to parse the query string
- mr_flaco0
I wondered if it would do that, sorry - returns = forwardSlash n
- phirschybar0
so I should do a str_replace and replace WHAT for WHAT? How do I indentify where there was a carriage return?
- phirschybar0
nevermind... I got it to work. Thanks guys