Skip navigation
Currently Being Moderated

Error #3200: Cannot perform operation on closed window.

Apr 20, 2012 1:37 AM



I'm simply trying to open a new window in a CS extension but when testing it inside Premiere as well as Illustrator it gives me the error


Error #3200: Cannot perform operation on closed window.


When I test it as a standalone desktop app, it works fine.


I tried it with an mxml Window component, and also with code, like:

var newWindow:Window = new Window()

newWindow.title = "New Window";

newWindow.width = 200;

newWindow.height = 200;;


I'm using a WindowedApplication.


Flex 3.5

AIR  2.7

Flash Builder 4.5 (not using Extension Builder)





  • Currently Being Moderated
    Apr 20, 2012 1:40 AM   in reply to JeffWinder

    You need to use CSXSInterface to open windows from within extensions. You cannot do it directly.



    Mark as:
  • Currently Being Moderated
    Apr 20, 2012 7:10 AM   in reply to JeffWinder

    Sorry. I answered from memory. I remembered a little wrong. You basically had it, but you need to set the type.


    Here's how you do it:


    win:MyCustomWindowType = new MyCustomWindowType;

    win.showStatusBar = false;

    win.type = CSXSWindowType.MODAL_DIALOG;;


    You probably want to create a component based on Window.


    Also, You should be using CSXSWindowedApplication. It could be that it's required for this...

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points