Flash Login System Export

Hello All, I am a new member to this website. I hope this is the right forum for this question.
Anyway, Is it possible to design a login form in Flash. And, export it as a swf file into a Wordpress website? I know it may require complex ActionScript 3.0 code but i would prefer this alternative has i am unable to find any Wordpress login plugins that i like.
Furthermore, would I be required to use Actionscript 3, or php in a mySQL database to organize my tables and users?
I have looked thoroughly for tutorials in regards to this but found nothing. Any advice would be appreciated guys!
Thanks

It’s possible to design a login form in flash, but you should only really use flash when it’s really needed (e.g for complex animation and media integration) and would be better to use an html form for this instead. One way or another, you will need to have a php script and a mysql database that this connects to, as a purely client side login device would be entirely insecure.