views:

401

answers:

2

Anyone know of a good memory/disk caching library for AIR? Extra points for being compatible with Flash CS3, and being free (as in beer).

I'd like to cache results of http requests: both binary and text (xml).

+2  A: 

The bulk-loader project might have what you're looking for. I haven't used it myself but in the description it says (among other things):

  • Cache management
  • Various asset types (XML, NetStreams, Swfs, Images, Sound, Text Files)

From quickly looking at the code and some of the examples in the wiki it looks like it has memory (but not disk) caching capabilities.

hasseg
Hrm. Looks promising. Doesn't do disk caching, but I've begun correspondence with the main developer about extending it to support AIR's file operations.
aaaidan
+1  A: 

You can find a class that handles content caching (text and binary) here:

http://www.mikechambers.com/blog/2007/03/19/simple-apollo-offline-caching-example/

That links includes links to complete code, and sample apps that use it.

mike

mikechambers