Ask a Question related to Macromedia Flash Data Integration, Design and Development.
-
>Vee #1
Problem receiving echo response
Im updating my as2 form to as3 and have run into a problem. I keep getting this
arroe theat the decode cant find name-value pairs.... my echo statement in my
php def. has name=value pairs[Q]Error: Error #2101: The String passed to
URLVariables.decode() must be a URL-encoded query string containing name/value
pairs.
at Error$/throwError()
at flash.net::URLVariables/decode()
at flash.net::URLVariables()
at flash.net::URLLoader/onComplete()[/Q]
var request:URLRequest = new URLRequest(phpfileeeeeeeeeees);
var sendMail_lv:URLVariables = new URLVariables();
var eLoader:URLLoader = new URLLoader();
function launchClick(event:MouseEvent):void {
sendMail_lv.destMail = senderE_txt.text;
sendMail_lv.senderName = senderName_txt.text;
sendMail_lv.senderMail = senderMail_txt.text;
sendMail_lv.senderSubject = "Why doesnt this work";
sendMail_lv.senderBody = senderBody_txt.text;
request.data = sendMail_lv;
// return URL-encoded vars
eLoader.dataFormat = URLLoaderDataFormat.VARIABLES;
// when response it back use this event handler
eLoader.addEventListener(Event.COMPLETE, handleResponse);
// send the data in the URLRequest to the server
eLoader.load(request);
}
function handleResponse(event:Event):void {
//trace('response'+ eLoader.data); // this tracees the entire PHP file
bubble_mc.confirm_txt.text = "Congratulations " + eLoader.data.confirmStatus
+ "," + "\n";
}
>Vee Guest
-
Problem receiving data from Webservice
Hi. Like the summary says, I have set up a flash file (in the way explained below.). When I try and send and receive data, I can see the result... -
Problem receiving info from database via PHP to Flashdynamic text fields
Hello, I'm having trouble receiving text informations in Flash 8 from a MySQL database via PHP: I have a text field in my Flash animation that's... -
Response Problem (cache?)
Hello! I have 10 or 12 shopping sites that I have just converted to CF 6.1 from CF 4.5. Everything works fine except for one problem in my shopping... -
help!response time problem
i distribute a website on IIS which is programmed with C# HttpHandler,then i send empty call to the website and record the time that the call return... -
Problem with post and echo $_POST['var']
Hi, when I used metod post in a form, then i read posted variable and try to print, I have : In FORM text(variable_nr1) = 'test_var' In php...



Reply With Quote

