jedierikb
jedierikb

Reputation: 13109

creating AMF files for caching

I would like to create some AMF files for caching on a server.

I am wondering if the best approach is to reconfigure BlazeDS to create these files so it spits out local files (is there a tutorial or suggestions on how to do this)?

Or if is possible to use as3 itself to create the files.

Upvotes: 0

Views: 182

Answers (1)

TobiHeidi
TobiHeidi

Reputation: 1241

You could create the files in as3 by building your objects then using ByteArray.writeObject() and save the resulting ByteArray using FileReference Class.

Upvotes: 1

Related Questions