Hi,
I'm attempting to place a button at the end of a flash movie that sends some variables to a .cfm page.
Flash Code
Code:
on (release) {
testcf = new LoadVars() ;
testcf.onload = function () {
testcf.Score1 = score1.text;
testcf.Score2 = score2.text;
testcf.Score3 = score3.text;
trace(testcf);
}
testcf.sendAndLoad("cfmail.cfm", testcf, "POST")
}
coldfusion code
the trace in the actionscript relays this bit of information:
Score3=66%2E6666666666667&Score2=1&Score1=2&%3Ccfo utput%3E%0D%0A%3Ccfmail%20to=%22myemail%40email%2E com%22%20from%3D%22myemail%40email%2Ecom%22%20subj ect%3D%22Quiz%20Results%22%3E%0D%0A%23Score1%23%0D %0A%23Score2%23%0D%0A%23Score3%23%0D%0A%0D%0A%0D%0 A%0D%0A%3C%2Fcfmail%3E%0D%0A%0D%0A%0D%0A%0D%0A%3C% 2Fcfoutput%3E%0D%0A&onload=%5Btype%20Function%5D
But alas no email is sent, i managed to successfully send info to the same cfm page using the "send" method, but for some reason i cant see to get this producing the same results minus the new page that the send option creates.
any help much appreciated,
olaf