When my HTTPService result comes back the 'event.result'
variable always has an '\r\n\r\n' sequence at the beginning.
How do I get rid of this ?
I am simply feeding the httpService with an echo from a php
script eg. echo "messageHere";
\r\n means, "carriage return followed by a new line". You've
probably got some extra line breaks in your PHP script. You can get
rid of them in flex using StringUtil.trim(event.result), but if you
have whitespace characters you care about at the beginning or end
of your event.result, you will lose them.