PDA

View Full Version : Problem with FLfile API


jota
10-31-2004, 06:39 PM
I have a button with this action:
on(release)
{
FLfile.createFolder("file:///C:/myFolder/");
var classFileURI="file:///C:/myFolder/temp.txt";
var code = "1234";
FLfile.write(classFileURI,code);
}


now shouldnt that create a folder on my computer called myfolder? And then make a text file called temp.txt and store 1234 in it? I assume im doing something thats simple and stupid. I am attempting to use the walk thru located at : http://www.macromedia.com/devnet/mx/flash/articles/jsapi.html to store data on a client machine.
Thanks for the help
-JJ

hangalot
11-01-2004, 07:19 AM
that is a jsfl command. it only works inside the ide.