I am developing a Flex extension for InDesign CS5 above. I am using Flex 4.6, EB 2.1. The UI is simple, just contains a button. On the application complete, I just initialize an object of a class. My problem is that sometimes, the button on the panel just doesn't load. For eg., if I close the ID application without closing the panel, and then re-open the application, normally, the panel should load fine with its components. But here, the button is not visible. I have to close the panel, and then re-open it to get the button to load. There is no specific pattern. I tried finding out the problem by setting up alerts in the pre-initialize, initialize, creation complete and app complete events. But these events are not triggered.
I am in a fix. It doesn't feel right that the user should close the panel and re-open it, to get the extension to work.
Anything I can do to fix it?
Just noticed on repetitive testing that the problem seems to occur in ID CS6.. Any input?
Message was edited by: poortip87