Jump to content

Shooter

Members
  • Content Count

    8
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Shooter

  • Rank
    Newbie
  1. The PHP code is fine, I'm 99.9% sure that the "header" does not send the good things, could it be that?
  2. Where can I see what the flash file sends to the .php file?
  3. Okay, Thanks for you help. I did what you say and it says "Not ok".. I'm guessing it is in the php file?
  4. As you can see on "np.validns.com" I added the box and everything.Here is the code. on (release){ var _loc4 = "login_flash.php"; var _loc3 = new LoadVars(); var _loc2 = new LoadVars(); _loc3.onLoad = function (success) { if (success) { if (this.error == "none") { trace ("Everything\'s okay!"); getURL("index.php"); } else { trace ("Something went wrong"); trace (_loc2); getURL("index.php?act=login&error=true"); dyn_text.text += this.error; } // end else if } else { trace ("Error connecting to server."); getURL("index.php?act=login&error=true"); } // end else if }; _loc2.loginusername = _root.login.uname.text; _loc2.loginpassword = _root.login.passw.text; _loc2.sendAndLoad(_loc4, _loc3, "POST");}on (rollOver){ gotoAndPlay(2);}on (rollOut){ gotoAndPlay(11);} The text does not change! Did I do something wrong?
  5. How do you add a box? I'm not very familiar with flash :S
  6. It brings me to this : http://np.validns.com/index.php?act=login&...rue&badpass on (release){ var _loc4 = "login_flash.php"; var _loc3 = new LoadVars(); var _loc2 = new LoadVars(); _loc3.onLoad = function (success) { if (success) { if (this.error == "none") { trace ("Everything\'s okay!"); getURL("index.php"); } else { trace ("Something went wrong"); trace (_loc2); getURL("index.php?act=login&error=true&badpass"); } // end else if } else { trace ("Error connecting to server."); getURL("index.php?act=login&error=true&noconnect"); } // end else if }; _loc2.loginusername = _root.login.uname.text; _loc2.loginpassword = _root.login.passw.text; _loc2.sendAndLoad(_loc4, _loc3, "POST");}on (rollOver){ gotoAndPlay(2);}on (rollOut){ gotoAndPlay(11);}
  7. I am not an expert in FLASH, like I said I'm not the person who did this code. I tried to add some stuff like you said, but... the "GO" button does not work anymore.Here is the link to the website. np.validns.com
  8. Hi Everyone,I have a little problem. I have a flash login in an header and for some reason it does not work at all. It keeps saying that "you have the wrong username/password" even if your login information are okay.Here is the flash code.. on (release){ var _loc4 = "login_flash.php"; var _loc3 = new LoadVars(); var _loc2 = new LoadVars(); _loc3.onclick = function (success) { if (success) { if (this.error == "none") { trace ("Everything\'s okay!"); getURL("index.php"); } else { trace ("Something went wrong"); trace (_loc2); getURL("index.php?act=login&error=true"); } // end else if } else { trace ("Error connecting to server."); getURL("index.php?act=login&error=true"); } // end else if }; _loc2.loginusername = _root.login.uname.text; _loc2.loginpassword = _root.login.passw.text; _loc2.sendAndLoad(_loc4, _loc3, "POST");}on (rollOver){ gotoAndPlay(2);}on (rollOut){ gotoAndPlay(11);} If you have any ideas why, please let me know.(I'm not the person who did this code, I'm not able to reach him so I figured I would ask here.)Thanks.
×
×
  • Create New...