I had been creating InDesign Extensions manually (i.e., without the ExtensionBuilder) up until now. I remember being told to use csxs:CSXSWindowedApplication for the panel.
We just recently got ExtensionBuilder, and I noticed that it creates mx:Application. Is this what it is supposed to be creating? Aside from the theoretical issue, there is the practical problem that I can't use the close() method which csxs:CSXSWindowedApplication has in order to close the panel.
I'd be greatful for an explanation.
mx:Application has less overhead than csxs:CSXSWindowedApplication maybe that's the reason it's the default.
You'll almost always want csxs:CSXSWindowedApplication though...
P.S. What's with csxs:Application? Will we ever get that?
CSXSWindowedApplication was a very late addition to CSXSLibrary. As far as I know, there is no technical reason ExtBuilder creates mx:Application as the default instead of CSXSWindowedApplication other than for this historic reason. You shouldn't have reservations about using it if you want the Window API, and I know this is something that's on the Extension Builder team's radar.