Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,172,196 members, 7,884,170 topics. Date: Tuesday, 09 July 2024 at 04:29 AM |
Nairaland Forum / Science/Technology / Programming / Actionscript Error (793 Views)
How Do I Fix "Player.exe Has Stopped Working" Error Message. / Invalid Security Token Error 403 Blogger Template / [Help Request] Help With Database Connectivity Error (2) (3) (4)
(1) (Reply)
Actionscript Error by ogzille(m): 2:57pm On Jun 17, 2010 |
I sent a file to a PHP file from flash, and i want to get the values i echoed in the php file from flash. But its not working My actionscript code: var saveJPG:URLRequest = new URLRequest("upload_campic.php" saveJPG.requestHeaders.push(header); saveJPG.method = URLRequestMethod.POST; saveJPG.data = byteArray; var urlLoader:URLLoader = new URLLoader(); urlLoader.dataFormat=URLLoaderDataFormat.VARIABLES; urlLoader.addEventListener(Event.COMPLETE, sendComplete); urlLoader.load(saveJPG); function sendComplete(event:Event):void{ var urlLoader:URLLoader = URLLoader(event.target); var res:String = e.target.data.stat; var fn:String = e.target.data.filename; if (res == "1" { ExternalInterface.call("completeJs", fn); } else { ExternalInterface.call("errorJs" } //warn.visible = true; //addChild(warn); //warn.addEventListener(MouseEvent.MOUSE_DOWN, warnDown); //warn.buttonMode = true; } pls help and tell me what im not getting right. HELLLLPPPPP |
(1) (Reply)
What App Would You Like To See / My Library / Computer Science Project
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 7 |