-
need help with editing
can someone help me with this? i have a notepad done in flash and i was wondering if i can get some help with moding the code around so i can save it into a folder of my choice.
FOUND IT!!!!!!!!!
-
Prid - Outing
not possible to save a File in Flash to a folder without the aid of a server-side scripting such as PHP
I am back, guys ... and finally 18 :P
BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS
-
Dignitary
-
then would it be possible to save it to a folder that is pre determined in the text so that when you close the notepad it won't delete it?
FOUND IT!!!!!!!!!
-
Dignitary
I havn't used in much but your sposed to be able to append, read and write to a file simUlar to server side file access. It will create file if none exists.
If the air platform is installed,this should work:
Code:
import flash.filesystem.*;
// Create a file.
// For this example the file will be created on the desktop.
var file:File = File.desktopDirectory.resolvePath("myFile2.txt");
// Create a file stream to write stuff to the file.
var stream:FileStream = new FileStream();
// Open the file stream.
stream.open( file, FileMode.WRITE );
// Write stuff to the file.
stream.writeUTFBytes("Hello. This is some more text in a file.");
// Close the file stream.
stream.close();
// Clean up.
file = null;
stream = null;
-
you know, that might work but i have no previous history with coding at all and I'm not sure if that would work with the PSP (the whole reason I'm going through this endeavor)
FOUND IT!!!!!!!!!
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
|