Groups | Blog | Home
all groups > macromedia flash sitedesign > march 2004 >

macromedia flash sitedesign : Creating a .txt file depending on variables!


fasterthanlight
3/28/2004 4:15:48 AM
ok, 3 variables:

userID
passID
name

format of the txt file should be like this:

userID=*********&passID=*****&name=**first**+**last**


can i do this in flash or do i have to use perl or something
fasterthanlight
3/30/2004 3:19:31 AM
*bump*


any takers?

jmack007
3/30/2004 2:04:33 PM
Hello --

Well, depending on the scope of your project you could use MX to store and
retrieve vars that allow password/ username verification before allowing access
to parts of your Flash site.

If you are just doing a small project that only a few people will have access
to you can store the vars in an array and loop through verifying each one by
one using actionscript. Would be a small app though. Not an enterprise app by
any means. Example, I had done a little interactive bracket for the Final Four
tourney that I allowed 12 people to access and make selections in some
brackets. (For recreational purposes only of course). The user's choices were
just stored in a text doc and retreived by the players logging in and seeing
how they were doing overall.

However, any larger applications such as registering for a subscription
service or to post and sell anything requires server-side scripts and probably
a database to store the info. I use XML/PHP/ mySQL combo MOST frequently for
this BUT-- of course-- you can use ASP/Perl/JSP/CF/etc and any database you
desire.

Have a peek over at Kirupa.com When I first got a project early last year that
would require this kind of interaction in Flash MX the tuts there were a great
starting point. Had done it ad infinitum in PHP/DHTML-style apps but these
tutorials really helped me get up to speed in Flash MX doing server-side
interactions rapidly. Better than a book for those who know MX and just need
the basics.

--jmac
fasterthanlight
4/1/2004 3:11:38 AM
I appreciate your response!
Unfortunatley I know I will need a database driven login do-hicky. I have
already created one at
http://www.couchpotato.no-ip.com/wtcs/ but of course you need to be registered
to login ;)
userID: 321321321
pass: hey
It functions well, right now the accounts are created using Perl, and I was
just wondering if I would be able to CREATE user's accounts in flash, instead
of using another language. Of course there would be the generic texfields [ie
user ID (in this case, the student's student number), password, name etc)
AddThis Social Bookmark Button