-
Not PWD
Saving To .txt Files
I attempted a few searches, but for some reason it seems to be down for today.
So I pose this question. How do you save to a text file from Flash 8?
PAlexC: That's just Chuck Norris's way of saying sometimes corn needs to lay the heck down.
Gerbick: America. Stabbing suckers since Vespucci left.
-
If you're talking about save some type of text from an swf, then you need to pass (by POST or GET) the text to a server script (php, asp...) that can read the values in. Then the script will need to open and write the text to a file.
You can use LoadVars class to do this from Flash.
-
Not PWD
Ok, gotcha. My dad knows enough ASP to get me through that part, I'll learn it from him. Thanks.
PAlexC: That's just Chuck Norris's way of saying sometimes corn needs to lay the heck down.
Gerbick: America. Stabbing suckers since Vespucci left.
-
Hey Virgo,
Once your figure it out, care to assist me with it, Im trying to do the exact same thing without any idea how.
I wrote a thread in General Forum about it too, so I'll be watching both
-
Not PWD
Alright, when my dad gets back from a two day work trip, I'll work it out with him and let you know. I'm not too familiar with ASP, so we'll plow through the script and I'll pass it on.
PAlexC: That's just Chuck Norris's way of saying sometimes corn needs to lay the heck down.
Gerbick: America. Stabbing suckers since Vespucci left.
-
Moderator
This will write it to a cookie:
Code:
var myInfo_so:SharedObject = SharedObject.getLocal("flashmechanicCookie");
save_btn.onRelease = function() {
myInfo_so.data.myLoginData = myInput_txt.text;
myInfo_so.flush();
}
myInput_txt.onSetFocus = function(){
myInput_txt.text = myInfo_so.data.myLoginData;
}
-
Nice Estudio,
Though that doesnt really fit my needs, but its a good thing to know for other things. Ill be sure to add that to my Flash Dictionary
Thats right, I keep a flash dictionary of different things, laugh it up haha
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
|