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?