There is an extra line break problem that we faced while retrieving value from a PHP script to Flash ActionScript. It seems like an extra new line is inserted after every line command. Like:
Line 1
Line 2
Line 3
To avoid this problem, variables should be parsed from the PHP script using the following line of code:
str_replace("\r","",$variable)
Problem solved!!!