Anda di halaman 1dari 2

Cara penyimpanan data di flash lite 1.

SHARED OBJECT Flash lite shared object digunakan untuk menyimpan data tetap pada user device. Contohnya, saat kita menggunakan shared object untuk untuk menyimpan informasi diantara application session, seperti user preference atau skor game. Shared object memungkinkan penyimpanan data secara local pada device. Pada flash lite 2.0 implementasi shared object tidak mengijinkan multiple SWF files untuk berbagi data yang sama. Dan juga tidak satu pun versi flash lite mendukung remote shared objects dengan flash media server. The Persistent Storage panel (Flash) The Flash Lite version of the ActionScript SharedObject class offers persistent data storage on the device. It allows SWF files to save data to the device when it is closed and load that data from the device when it is played again. For more information, see the Flash Lite 2.x documentation. You can use the Device Central Persistent Storage panel to determine how full storage is on a device. The Used/Free indicator is a per-device value, so if multiple SWF files write to the persistent storage, the value is the sum of all their data. Change persistent storage amount 1. To open the Emulate workspace, do one of the following: o From Device Central, select File > Open File, navigate to a SWF file, and double-click the file. o In Flash, open a file and select Control > Test Movie. 2. Click Persistent Storage. 3. To clear the storage for the device you are emulating, click Empty. The Emulate workspace removes all persistent objects for all content that ran on that device, and runs your content again. Note: The Flash Lite version of the ActionScript SharedObject class doesnt support sharing data between different SWF files; it even considers a modified version of the same file as a different file. As a result, when testing the same file over and over again, the persistent storage can grow large quickly.

2. JANUS-FLASH for windows mobile Janus-flash meng-enkapsulasi sebuah SWF file ke dalam executable EXE file yang mengijinkan system untuk memanggil windows os You just need to install Janus-Flash as a Flash Component, And use this code : import ssp.application; ssp.filesystem.File.appendText("HelloWorld !", "myFile.txt");

Compile your SWF (Flash Lite 2.1 only !) Then Compile your EXE using Janus Installer > Pocket PC Launch exe on your phone, this will work. 3. KUNERILITE for symbian KuneriLite is an innovative Rapid Application Development toolkit to extend Flash Lite capabilities and create great-looking Symbian applications without any Symbian knowledge.

Anda mungkin juga menyukai