PDA

View Full Version : Saving data from flash apps


thinkquick
08-23-2007, 07:17
Hi, I got my new D2 yesterday. It is very cool. I have been whipping up a few flash programs but have been unable to get saving working.

I have tried various combinations of fscommand2, SetPersistentData, GetPersistentData, and SharedObject, but no luck. I have tried firmware 2.50 and 3.51b. I have tried publishing to Flash7 format and FlashLite 2.1. Interestingly, calling fscommand2 with GetPersistentData on 2.50 returns 1 (success), but on 3.51b it returns -2 (not documented anywhere).

I tried a few flash programs that claim to be able to save (logjam, abc123), but they dont save.

Can anyone confirm whether *any* flash program has been shown to save data on the D2?
________
ZX14 vs Hayabusa (http://wiki.answers.com/Q/Which_bike_is_quicker_kawasaki_zx_-14_or_suzuki_hayabusa)

bryanv
08-30-2007, 12:52
I posted a similar question earlier, I have found no solution so far. Using fscommand2 though I seem to remember large files being saved to the device. But they were quite unusable. Let me know if you find the answer.

KyonCoraeL
09-04-2007, 02:40
interestingly in the korean cowon flash festival page, there is a calender that looks like it's trying to get dynamic saving in the cowon for on the fly notes and reading schedules and what not. but it isn't working.

thinkquick
09-08-2007, 07:24
I have pretty much given up getting saving to work. I can get strange files to create using fscommand2("SetPersistentData", "something=somethingelse"). But, there seems to be no pattern to the data created in the files, and they do not seem reproducable. Naturally, the GetPersistentData is not doing anything. The files created are named with non-displayable characters, presumably Korean. I wonder if any Korean developers have saving working.

The preferred saving method on these type of gadgets is a SharedObject. Interestingly, the device reports that it can support them, but then they do not work.

I am hoping the next firmware release will fix things. It would be great to use my D2 to take notes or do some other constructive thing. And high scores and progress saving would make games much better.
________
Ducati 998 (http://www.cyclechaos.com/wiki/Ducati_998)

bryanv
10-05-2007, 12:06
Have you tried again since the 3.51 firmware. Supposedly they fixed some flash related issues.

wabber
10-05-2007, 15:07
The notepad feature enables saving by somehow saving the drawings you make in your pictures folder after you exit. The notepad might use a different script than actionscript though...

Ranma13
10-09-2007, 08:31
If anyone can figure this out, that'd be really great. I'm doing a project for class in Flash Lite to be used on the D2, but if it can't save, I'll have to go over to J2ME and write my project for a cell phone instead.

KyonCoraeL
10-26-2007, 03:46
I just read that in the 2.5 change log about get and set persistent data