A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Help with a login form!

  1. #1
    Junior Member
    Join Date
    Mar 2007
    Posts
    27

    Help with a login form!

    http://www.tiffanydavisphotography.com/

    If you go there and click "online proofing", I've successfully made a form. To make my form, I made two input boxes, gave them variable names, turned it into the movie clip "form", added this code to the movie clip..

    onClipEvent(data){
    _root.nextFrame();
    }

    Added a button below the form [not in it!] and added this code..

    on (press) {
    form.loadVariables("login.php", "POST");
    }

    Firstly- why is that funny text coming up in the variable box? Something like "level10.loginname".. and how can I add a stroke to the input box? And why when I click on the "login" button is nothing happening.. ? I've added my PHP file.. I program PHP fluently, but this is the first time intertwining the languages.. in my PHP file, if I told something to print, would it? In the Flash box? How can I load a PHP file in my flash program? Is that possible?

    Help. =D Thanks.

  2. #2
    Junior Member
    Join Date
    Mar 2007
    Posts
    27
    Bump.

  3. #3
    Junior Member
    Join Date
    Mar 2007
    Posts
    27
    Help!

  4. #4
    Flashmatics silentweed's Avatar
    Join Date
    Mar 2005
    Location
    London, UK
    Posts
    4,875
    you can download my register/login/php script from my library to see how to implment a login system... and i would recommend using LoadVars object for sending/receiving variables...
    Flashmatics | Flashmatics Library (free downloads)
    -----------------------------------------------------
    Latest Projects:
    The Dead Room | Are You Smarter | Prison Break (Frame A Friend) | Beck's Fusions | The 24 Experience

    -----------------------------------------------------
    Flash Certified Developer

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