3 Replies Latest reply on Dec 30, 2011 3:15 AM by Harbs.

    Event not getting dispatched in CSDK



      i want to so some action in my extension (using CSDK) when user close the host application. i hav add the event in myCreationComplete, like:


      private function creationCompleteHandler(evt:FlexEvent):void{

                   var myCSXS:CSXSInterface = CSXSInterface.getInstance();

                                              myCSXS.addEventListener(com.adobe.csxs.events.CSXSEvent.APP_OFFLINE, application_OffLine);



      and the function is:


      private function myEventHandler(event:Event):void






      but the event is not getting dispatched when user close the host application.

      Let eme know if i m doing something wrong...