Flash "form submit"

Post Reply
User avatar
Bail
Posts: 1142
Joined: Fri 15 Aug, 2003 21.41
Location: UK

This is something that I'm not even sure can be done but I'm trying anyway.

I use mail2web to access my email when I'm not at the PC, I am trying to create a flash link that will log straight in to my account. I'm currently using the rather nifty code from asanet which I've altered to use the "personal" section of mail2web rather than the generic log on page.

I've got this working and all is well, however I still have to use a link, or submit button to log on. Is there anyway I can make a button in flash that will a) press submit on the page for me and log straight on b) alter the code to work within flash? Any ideas would be most useful.

The code im currently using (for the link as it is) is this:
<form action="http://mail2web.com/cgi-bin/intellilogin.asp" method="POST" name="email">
<input type="hidden" name="fn" value="personaltitle">
<input type="hidden" name="PASSWORD" value="password!">
<input type="hidden" name="un" value="username">
<input type="hidden" name="lid" value="0">
<input type="hidden" name="pe" value="1">
</form>
with "href="javascriptemail.submit()"Login</a>" as the submit button.

Any way I can put that in flash?
Image
Post Reply