-
Sonic the FlashHog
Data Tracking
Looking for links, advice or threads discussing ways to implement - Tracking User Info (ie: User Login, quiz scores, etc.) and being able to export data to a .txt file, and being able to call it back into the .swf later (on command).
Thanks,
Geoff
Moving at the speed of Flash
-
Senior Member
You will need a serverside script to write to a textfile (asp,cgi,php depending on what your server supports). I use a cgi script called FlashDB from www.kessels.com for all these things ( even a complete Shopping Site in Flash ). It works very well.
As for loading a textfile you use
this.loadVariables("mytextfiel.txt");
...to load the contents of it, and it should be formatted like this....
name1=John&name2=Peter&name3=Gabriel
....and so on.
If you have a textfield in Flash called name1 it will display John
-
Sonic the FlashHog
Thanks. Question: What if I were looking to deliver this over CD (or even locally on a/my computer) instead of over the web?
Thanks again,
Geoff
Last edited by geoffp08; 02-12-2004 at 05:00 PM.
Moving at the speed of Flash
-
Senior Member
Flash use the Shared Object to write sort of "cookies" to the harddrive. That is a possible solution to save to a textfile ( see Shared Objects ). Some problems can arise though when inserting the cd for the second time, it might not find the textfile.... see this post....
http://www.flashkit.com/board/showth...+Shared+Object
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|