1 Reply Latest reply on May 31, 2012 6:35 AM by kc2scy

    launch another extension from within your extension error

    kc2scy Level 1

      hello I have two extension one is a panel and one is a modaless dialog box.

       

      I would like to lanch the modaless dialog box exention from the panel extension.

       

      I did some reasech and I came up with the below code:

       

      var result:SyncRequestResult =CSXSInterface.getInstance().requestOpenExtension("com.media.test","key1=" + IdModel.Edition).

       

      if(SyncRequestResult.COMPLETE == result.status)

      {

        trace("com.media.test extension has been successfully open");

      }

       

       

      however I get  a error :

      TypeError: Error #1009: Cannot access a property or method of a null object reference.

       

      I must be missing a step here, can anyone help?