Nevermind. Didn't find it right away because my AIR app is based off
mx:Application and is chromeless, but I can listen for the "closing" event
on the main Window I spawn and cache the data there.

On Sun, Jun 22, 2008 at 12:31 AM, Daniel Gold <[EMAIL PROTECTED]> wrote:

> I'm working on an online/offline AIR app and was wondering if there was any
> way to detect that an AIR app is closing so I can cache my data models? If
> the user closes the app while online and then opens it later offline, I'd
> like them to have access to the last data set. I could achieve this by
> constantly mirroring the remote data but was hoping to avoid that since the
> majority of the time the users will be online and it won't be necessary.
>

Reply via email to