Be a Supporter!

AC 2.0 - Help with Logins

  • 203 Views
  • 4 Replies
New Topic Respond to this Topic
oShadow-Kun
oShadow-Kun
  • Member since: Dec. 6, 2009
  • Offline.
Forum Stats
Member
Level 04
Blank Slate
AC 2.0 - Help with Logins 2010-11-12 05:02:15 Reply

Okay, so i'm trying to create a demo website, and i have a user and pass input textboxes, and if you type in "Lolcaiks" as your user, anything for your pass, i want it to say "Welcome, Lolcaiks"
I wouldn't know what to search for, so i'm sorry if this has been answered before.
Can anyone help?

zrb
zrb
  • Member since: Aug. 8, 2006
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to AC 2.0 - Help with Logins 2010-11-12 12:14:21 Reply

You should really learn the basics before attempting things like that.
Look here.
There's a simple tutorial on passwords too.


School Sux ! || As :Main || As3: Main || Animation: Main || Flash Tutorials ||

BBS Signature
oShadow-Kun
oShadow-Kun
  • Member since: Dec. 6, 2009
  • Offline.
Forum Stats
Member
Level 04
Blank Slate
Response to AC 2.0 - Help with Logins 2010-11-14 23:25:40 Reply

Okay, thanks.. but i did have a code before, it used something like trace (user" "pass); and +user, i don't know..
i know it might be a little bit noob, but could you give me a code for it?

PSvils
PSvils
  • Member since: Feb. 3, 2010
  • Offline.
Forum Stats
Member
Level 01
Game Developer
Response to AC 2.0 - Help with Logins 2010-11-15 11:30:09 Reply

A) Don't worry about being a noob.

B) Don't always ask for people to give you code. Use your own head and figure it out like the rest of us did.

C) Learn the language, then actually start using it for a specific project.

CyberXR
CyberXR
  • Member since: Aug. 22, 2008
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to AC 2.0 - Help with Logins 2010-11-15 13:49:42 Reply

At 11/12/10 05:02 AM, oShadow-Kun wrote: Okay, so i'm trying to create a demo website, and i have a user and pass input textboxes, and if you type in "Lolcaiks" as your user, anything for your pass, i want it to say "Welcome, Lolcaiks"
I wouldn't know what to search for, so i'm sorry if this has been answered before.
Can anyone help?

You can always save the inpus text as an string variable. The thing with strings is that you can take one string + another string (this cant be done with for example string + int).
trace("Welcome" + name);


Check out the coolest Donkey Kong Game on NG!
http://www.newgrounds.com/portal/vi ew/459064
100 posts @ Posted at: 9/15/08 07:36 AM http://www.newgrounds.com/bbs/topic /969232