Skip navigation
Jhon Thompson
Currently Being Moderated

Facebook Login

Jul 9, 2012 4:01 PM

Tags: #error #facebook #3200 #graph-api

I want to login with facebook inside extension, I'm using http://code.google.com/p/facebook-actionscript-api/ but when i call FacebookDesktop.login(); i receive this error

Error: Error #3200: Cannot perform operation on closed window.

          at Error$/throwError()

          at flash.display::NativeWindow/get bounds()

          at flash.html::HTMLLoader$/createRootWindow()

          at com.facebook.graph.windows::AbstractWindow/showWindow()[C:\Users\face bookGraphApi\desktopAPI\com\facebook\graph\windows\AbstractWindow.as:1 29]

          at com.facebook.graph.windows::LoginWindow/open()[C:\Users\facebookGraph Api\desktopAPI\com\facebook\graph\windows\LoginWindow.as:130]

          at com.facebook.graph::FacebookDesktop/login()[C:\Users\facebookGraphApi \desktopAPI\com\facebook\graph\FacebookDesktop.as:545]

          at com.facebook.graph::FacebookDesktop$/login()[C:\Users\facebookGraphAp i\desktopAPI\com\facebook\graph\FacebookDesktop.as:162]

          at main/login_click()[H:\Users\Ganesh\Adobe Flash Builder 4.6\MADE\src\main.mxml:41]

          at main/___main_Button1_click()[H:\Users\Ganesh\Adobe Flash Builder 4.6\MADE\src\main.mxml:52]

 

Is there a way to resolve this?

 
Replies
  • Currently Being Moderated
    Jul 9, 2012 10:37 PM   in reply to Jhon Thompson

    You need to change the Window type to one of the CSXSWindow types (i.e.  CSXSWindowType.MODAL_DIALOG or CSXSWindowType.MODELESS)

     

    Harbs

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 10, 2012 7:57 AM   in reply to Jhon Thompson

    I'm guessing the library opens a new window for login. You're going to have to edit that source code...

     

    Harbs

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 25, 2012 1:45 AM   in reply to Harbs.

    The below does not work in Photoshop 13.1.1. Error: Error #3200: Cannot perform operation on closed window.

     

    var window:Window = new Window();

    window.type = CSXSWindowType.MODELESS;

    window.open(true);

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 25, 2012 2:40 AM   in reply to Yanwen Ju
     
    |
    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