You should be able to do this, look into ByteArray's readObject and writeObject methods (and serialisation maybe)
Reading and writing the bytearrays to/from sqlite uses the normal syntax, though you will have to use parameters (since concatenating a bytearray into a string query is a bit hard!) I should add that I've not attempted this yet, but it's on my to do list so I have checked out the theory (and I know it works with images as a bytearray) -----Original Message----- From: [email protected] on behalf of markflex2007 Sent: Thu 21/08/2008 05:03 To: [email protected] Subject: [flexcoders] May I save object to SQLite in AIR? Hi, I need save a object (instance of class) to sqlite database in AIR.Do you think if it is possible? Can you give me a simple example for this?I do not have idea for this now. I also need to read the object back to AIR from SQLite. Thanks Mark ______________________________________________________________________ This communication is from Primal Pictures Ltd., a company registered in England and Wales with registration No. 02622298 and registered office: 4th Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT registration No. 648874577. This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its contents to any person. This email has been scanned for Primal Pictures by the MessageLabs Email Security System. ______________________________________________________________________
<<winmail.dat>>

