google-code-export / facebook-actionscript-api

Automatically exported from code.google.com/p/facebook-actionscript-api
1 stars 0 forks source link

Handle close login popup event #413

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Login popup come out 
2. User click on CANCEL or close the popup

What is the expected output? What do you see instead?
- I expect that facebook-api handle this events and return some fail 
object/message
- Instead, the popup still re-open itself till the user log in fb or till I 
close my application.

What version of the product are you using? On what operating system?
Windows 7, GraphAPI 1.8.1

Please provide any additional information below.
My handle login function is:

        private function handleLogin(result:Object, fail:Object):void
        {
                if (result != null) {
                    // some stuff                        
                } else {
                     // nothing
                }           
        }

Original issue reported on code.google.com by marcono...@gmail.com on 27 Mar 2012 at 6:53