2 Replies Latest reply on Dec 12, 2009 4:19 AM by Zdenal

    isEmbedded - how to learn whether application is embedded?



      I am very curious how to determine whether the application is embedded in some other app or not. Currently I this


      public function get isEmbedded():Boolean {
          return ObjectUtility.getClassName(this.parentDocument) != ObjectUtility.getClassName(Application.application);


      but it seems to return false in some cases when it should return true . Is there any other solution for this?