| View previous topic :: View next topic |
| Author |
Message |
Xanatos I post too much
Reputation: 18
Joined: 06 May 2007 Posts: 2559 Location: US
|
Posted: Sun Oct 21, 2007 8:44 am Post subject: Does Flash have...? |
|
|
File processing functions? If it does, could somebody link me to a tutorial? I tried google, but not many promising links :\.
What I'm trying to do is read and write to a text or doc file. All I want to do is make the text from a few edit boxes transfer onto a file, and vice versa. I've used a String tokenizer (in Java), but I don't remember it.
_________________
|
|
| Back to top |
|
 |
jake900 Expert Cheater
Reputation: 0
Joined: 28 Sep 2007 Posts: 101 Location: On Ma PC
|
Posted: Sun Oct 21, 2007 9:09 am Post subject: |
|
|
i neva thought you the great XAN would need a TUT
_________________
hi |
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
|
| Back to top |
|
 |
Xanatos I post too much
Reputation: 18
Joined: 06 May 2007 Posts: 2559 Location: US
|
Posted: Mon Oct 22, 2007 3:43 pm Post subject: |
|
|
| jake900 wrote: | | i neva thought you the great XAN would need a TUT |
Hey! I only need it because I never took Flash formally, and I forget it in Java =X.
_________________
|
|
| Back to top |
|
 |
DeltaFlyer Grandmaster Cheater
Reputation: 0
Joined: 22 Jul 2006 Posts: 666
|
Posted: Tue Oct 23, 2007 3:50 pm Post subject: |
|
|
Java file output:
| Code: |
import java.io.*;
public class FileOut
{
public static void main (String[] args)
{
try
{
PrintWriter out = new PrintWriter (new FileWriter ("out.txt"));
out.println ("content");
out.close ();
}
catch (Exception e)
{
e.printStackTrace ();
}
}
}
|
String Tokenizer is for splitting strings into tokens.
_________________
Wow.... still working at 827... what's INCA thinking?
zomg l33t hax at this place (IE only). Over 150 people have used it, what are YOU waiting for? |
|
| Back to top |
|
 |
sponge I'm a spammer
Reputation: 1
Joined: 07 Nov 2006 Posts: 6009
|
Posted: Tue Oct 23, 2007 5:01 pm Post subject: |
|
|
| jake900 wrote: | | i neva thought you the great XAN would need a TUT |
No one is a god, all knowing. Once in a while everyone acquires assistance. I hate the people with your attitude, sucking up to all the "pros" out there.
_________________
|
|
| Back to top |
|
 |
Xanatos I post too much
Reputation: 18
Joined: 06 May 2007 Posts: 2559 Location: US
|
Posted: Tue Oct 23, 2007 6:33 pm Post subject: |
|
|
I don't think he's accustomed to the nature of programming (and when it comes to DF, there aren't many good programmers so I take a part of the cake ).
Anyways I just want to use the string tokenizer... 'cause that's how I role .
I've done what Deltaflyer posted, but I need to know if it applies in Flash ._.
_________________
|
|
| Back to top |
|
 |
|