A Flash Developer Resource Site

Results 1 to 11 of 11

Thread: I need to make a kind of form but I never knew how...

  1. #1
    Senior Member
    Join Date
    Oct 2002
    Posts
    107

    I need to make a kind of form but I never knew how...

    I made a game. At the end it asks your name and shows your score.

    but I don't know how to tell the movie to send those info on my email...I need someone to help me with the easiest way as possible (I just suck at HTML or codes like that). I just need the name and the score...that's all.

    Well thanks...

  2. #2
    Senior Member random10122's Avatar
    Join Date
    Mar 2002
    Location
    Sheffield, UK
    Posts
    1,747
    Code:
    email = "person@domain.com"
    name = user input
    score = gamescore
    
    getURL("mailto:"+email+"&body=name: "+name+" score:"+score)
    Summat like that... Otherwise your getting into PHP/Perl which you said you were bad at.

    fracture2 - the sequel
    fracture - retro shooter
    blog - games, design and the rest

    "2D is a format, not a limitation" -Luis Barriga

  3. #3
    Senior Member
    Join Date
    Oct 2002
    Posts
    107
    oh cool. thanks I didn't know it was so easy

    yay thx thx

  4. #4
    Senior Member
    Join Date
    Oct 2002
    Posts
    107
    ok well there's still a problem. It just opens outlook express and It puts all the line in the email box...lol. I changed the variables but I didn't change the getURL line...

  5. #5

  6. #6
    Senior Member
    Join Date
    Oct 2002
    Posts
    107
    hey come on someone please. I really need to know that...I just want a simple code. that's all. It's not that hard. please.

  7. #7
    Senior Member tonypa's Avatar
    Join Date
    Jul 2001
    Location
    Estonia
    Posts
    8,223
    Originally posted by Calisse
    ok well there's still a problem. It just opens outlook express and It puts all the line in the email box...lol. I changed the variables but I didn't change the getURL line...
    erm, didnt you want that?

    Or do you want it to send name+score to your e-mail automatically without opening users mailing program (where of course they can change the score as they wish)? In this case you need server side script (PHP/cgi) to do the actual mailing job.

  8. #8
    Senior Member
    Join Date
    Oct 2002
    Posts
    107
    I just don't want them to change the score. Yeah I want it directly in my email box. I hope it's possible

  9. #9
    Senior Member random10122's Avatar
    Join Date
    Mar 2002
    Location
    Sheffield, UK
    Posts
    1,747
    Well, you need a server that supports PHP/Perl and then you need to send the variables to a page on that server using loadVariables /getURL

    The page should then know what to do with the variables it receives, ie. send them to your email address.. Im afraid your gonna need a half decent knowledge of one of these languages and a server which supports it (usually not free)

    fracture2 - the sequel
    fracture - retro shooter
    blog - games, design and the rest

    "2D is a format, not a limitation" -Luis Barriga

  10. #10
    Senior Member tonypa's Avatar
    Join Date
    Jul 2001
    Location
    Estonia
    Posts
    8,223
    Just what random said
    Cant do it with Flash only.

  11. #11
    Senior Member
    Join Date
    Oct 2002
    Posts
    107
    oh well. thanx anyway. It sucks lol. At least I know now.

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