|
|||
|
Hello,
I've noticed a URLLoader misbehavior when running AS3 application under SWFKit. Here's AS3 code Code:
public function downloadURL():void
{
var ldr:URLLoader = new URLLoader();
var rq:URLRequest = new URLRequest("http://localhost/test.php");
ldr.addEventListener(Event.COMPLETE, onTryAuthHTTP);
ldr.load(rq);
}
public function onDownloadURL(evt:Event):void
{
trace("[" + evt.target.data + "]");
}
Code:
echo "abcdefg"; Code:
echo "abcdefgH"; But with SWFKit, any output produced from PHP that is less than 8 chars is discarded or whatever! For the first script I get [], but for the second - [abcdefgH]. How can that happen? /edit It seams that it is not possible to download ANY url resource that has lesser length than 8. Last edited by aamp; 02-13-2009 at 11:56 AM. |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|