1 Reply Latest reply on Feb 2, 2010 7:17 AM by MNishad

    Insert objects into SQLite database

    Jens Wegar Level 1

      Could someone please post a simple code example (or direct me to some tutorial/article) on how to insert an instance of a custom class into a SQLite database in AIR. I know I have to use [RemoteClass] or flash.net.registerClassAlias somehow, but for some reason the objects that are returned when making a SELECT query after the INSERT are always just [object Object] instead of the custom type that I would want them to be.

       

      Been searching the web (and these forums) for the last hour without being able to find any concrete code examples, so any help would be appreciated. Thanks!