I'm storing an image (png/jpg/whatever) in an external application as blob data within an SQLite database. I'm then trying to open that database within an Air Application but I get a range error when I do so:
RangeError: Error #2006: The supplied index is out of bounds.
If I store it from within the Air application as a bytearray then everything is okay, it's only when I use the external application to store the data that it goes wrong. The image does need to be stored in the database from an external non-Air application.
Does anyone know what's going wrong and how I can fix it?