Page 1 of 1

flash + recaptcha

Posted: Sat Jun 28, 2008 8:37 am
by thosecars82
hello there
I know how to include a recaptcha in a html or php web page but I don't know how to include a recaptcha in a flash web page. I just thought of calling geturl from as2 flash8 for calling a php that holded the recaptcha

After that, the php script might create a file with a content which indicated success or failure depending on the result of the recaptcha.

Then, after calling geturl in flash, I would call sendandload of a loadvars object for calling a second php script which would be in a loop until it found the file writen by the first php script which holded the recaptcha. The loop would end by reading the file written by the first php script and seeing whether the content is success or failure. Then it would send the result back to flash through the loadvars. Then flash could continue the execution flow depending on the result of the recaptcha.

This is the only solution which came to my mind but it does not seem straightforward to me. Does anyone have any other better solution to include a recaptcha for a website developed with flash?
Thanks in advance

Re: flash + recaptcha

Posted: Thu Jul 24, 2008 10:43 pm
by SomeoneE1se
are you trying to add a captcha to a flash site or a flash.swf?

Re: flash + recaptcha

Posted: Fri Jul 25, 2008 2:32 am
by thosecars82
SomeoneE1se wrote:are you trying to add a captcha to a flash site or a flash.swf?
to a flash site

Re: flash + recaptcha

Posted: Fri Jul 25, 2008 3:23 pm
by SomeoneE1se
and you can't just add it like a normal captcha?

and just to be sure, you're talking about a site that uses mostly flash but is created in html, and not a site that is just one big flash .swf right?

Re: flash + recaptcha

Posted: Fri Jul 25, 2008 5:19 pm
by thosecars82
actually this site has an html page with an object tag which contains a big home.swf file. This swf file has the whole content of the site.

Re: flash + recaptcha

Posted: Mon Jul 28, 2008 12:28 am
by SomeoneE1se
so you want the captcha to be under(above) home.swf or inside the home.swf?

Re: flash + recaptcha

Posted: Tue Jul 29, 2008 8:11 am
by thosecars82
inside

Re: flash + recaptcha

Posted: Thu Jul 31, 2008 1:19 pm
by SomeoneE1se
have you already had a problem with spam bots?

flash is hidden to most bots out there.

Re: flash + recaptcha

Posted: Thu Jul 31, 2008 1:48 pm
by thosecars82
No, I haven't, at least yet. So thank you, because I did not know it was not likely that a bot got this kind of data.