Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
Contributor
Posts: 13
Registered: ‎03-26-2011
My Device: None
My Carrier: None
Accepted Solution

Event.CLOSING

Hey all,

 

Is there an event similar to Event.CLOSING for the PlayBook?  I wasn't able to get my event handler to trigger on Event.CLOSING and I'd like to be able to clean up some SharedObject values if the application is closed prematurely.

 

Thanks!

Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: Event.CLOSING

A while back I wrote a post about using Event.CLOSING, and related events including the ACTIVATE/DEACTIVATE ones.  You're probably just not using stage.nativeWindow.addEventListener()to listen for it.


Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!