|
|||
|
Urgent! How to read and write multiple Value in Text File?
I m creating a Flash game and I m poor in FFish scripts and be confused with the (notepad and scores) samples provided here. What i wan is the Flash Load several keys code from Text File . Eg: In my Flash: Key1 = 37 (Left) Key2 = 39 (Rght) and there is an option to change the Key1, Key2's value for flash. For the First frame in Flash, i put a code fscommand("ffish_run", "loadkeys"); n in options part of flash, i put fscommand("ffish_run", "savekeys"); WHen come to SWF kit FFIsh Scripts part. i hav no idea what to write. var File = getAppDir() + "\\keys.txt"; DataFile.load(File); ........................................ ??? Please help me on the FFish Scripts.... (* When the text is loaded in flash, how to specify it to become a keycode number n not a text) It is better if you have a sample files for me. My email: wkwebsite@yahoo.com |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|