PDA

View Full Version : create a .txt file from flash mx2004


mindscapegreens
11-06-2004, 02:42 PM
hi
wud any of you know how to create and save text file in your hard disk from within an swf. the same text file must also be readable in flash.
please help.
emergency!!

G-Rard B
11-06-2004, 03:25 PM
I think you need a server-side scripting language, like PHP, ASP, or ColdFusion to do that.

mindscapegreens
11-07-2004, 05:19 AM
this requirement is for an offline application. i had searched the net and found a tutorial on this. the problem is that i am not able to decipher the tutorial ie. i am not able to find out where is all the code and it does not work wen i save it flash mx2004 under a new name. the tutorial file is in flash 5. i am attaching the tutorial below. if anyone is able to help me i wud be thankfull. this is an emergency.
thanks in advance.

CyanBlue
11-08-2004, 04:19 AM
Howdy and Welcome... :)

That example won't work in FMX 2004... The fscommand() function was working in F5, but not in FMX or FMX 2004...
You will need to use the third party projector tools such as Flash Studio Pro or SWF Studio to save the local file... Go check their sites out...

mindscapegreens
11-10-2004, 08:20 AM
ok cyanblue, thanks.
i ve already started converting all the files to flash 5. thats y the late reply.
thanks g-rard b for taking interest.

CyanBlue
11-10-2004, 11:09 PM
Well... Let me clarify what I have said... That command will work if the user's Flash Player version is 5... It won't work if the user uses Flash Player 6 or above... It doesn't matter whether you use F5 to build your program... It goes with the Flash Player that your movie is being played...

I suggest you make a sample to see if the key functionality works on your audience's computer before you go on any further... :)