How to avoid the annoying new line generated at SendAndLoad();
Please is there any workarround to avoid the new line generated while sending data using SendAndLoad(); in AS2 开发者_运维百科?
I send "00:00:12:36"
But php output:
00
:00
:12:36
Any help??
Weird...
var stripped:String = data.split("\r").concat(""); // or \n alternatively
removes it from actionscript, but you'd rather fix the php.
send:
escape("00:00:12:36")
and in PHP:
$myvar = urldecode($variableCameFromFlash);
精彩评论