A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Making a login script in Flash to pass to ColdFusion

  1. #1

    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.
    I Flash, therefore I am.

  2. #2
    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???
    I Flash, therefore I am.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center