-
Making a login script in Flash to pass to ColdFusion
I have the typical username and password input boxes. Now, what script do I put on the button (or the main AS) to POST them to a CFML page?
So far I have this on the main AS:
PHP Code:
stop();
this.go_btn.onRelease = function() {
loadVariablesNum(" /doLogin.cfm", 0, "POST");
}
BTW: the boxes are in a MC that is on the main timeline. The code above is on the 1st frame of the MC timeline.
-
ok, this code works, but i'm not sure why, lol
PHP Code:
stop();
this.go_btn.onRelease = function() {
getURL("http://www.nationalscrapbookingassociation.com/doLogin.cfm", "un", "POST");
}
even though I've only designated the 'un', the 'pw' is going thru to coldfusion...
maybe I don't need to designate the variables???
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|