tantinga Posted August 2, 2006 Share Posted August 2, 2006 Hello, I have a small problem which is big if I can't find a way out, lol. I have a mainframe.swf, in this I have an empty movie clip. Thru this empty movie clip I am loading several other .swf files. One of those files is my mailform.swf. It worked great alone but once I loaded it thru the empty movie clip, it didn't send the echo ("thank you, your mail sent" etc) for flash to read out in the box named "answer". But it still sends the mail to both myself and the person. Here's the part of code in the php script that I think pertains to my problem:CODE--------------------------------------------$sendresult = "Thank you. ";$send_answer = "answer=";$send_answer .= rawurlencode($sendresult);echo "$send_answer";END CODE---------------------------------------[color=red]How can i make this php script work correctly so that the echo is sent to flash.[/color]Thank you to whom may be able to help me.... :) Quote Link to comment Share on other sites More sharing options...
Drumminxx Posted August 2, 2006 Share Posted August 2, 2006 Let me know if this works for you or not[code]echo "&answer=$send_answer&";[/code] Quote Link to comment Share on other sites More sharing options...
onlyican Posted August 2, 2006 Share Posted August 2, 2006 You need to add some Action scrript into the flashload_variables I think it isNot 100% sure, so dont hold me against that Quote Link to comment Share on other sites More sharing options...
Drumminxx Posted August 3, 2006 Share Posted August 3, 2006 yea, the above example should work provided that you created a loadVars object in your action script but I figured we should get the php right first and go from there Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.