Macromedia Flash Server - file class_FMS2

This is Interesting: Free IT Magazines  
Home > Archive > Macromedia Flash Server > January 2006 > file class_FMS2





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author file class_FMS2
Müge SATAR

2006-01-27, 8:51 pm

Hi all,

Does anybody know how to use the file class?
Using the below code in the asc. file, a text file named "logs" is created
on the server.

logs=new File ("logs.txt");
logs.open("text", "create");
if (logs.open()){
trace("file is open");
}

There are two problems I have,

1. Is it possible to create a file: "*username*.txt"?

2. Is it possible to copy info. from a text field in the swf to the file
created on the server?
(Can it be possible like this; logs.write("*textField.text*");
But as the code is in the asc. file, how should I refer to the textField in
the swf?)

Thanks anyway and have a good day!

Müge
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com