When using the Facebook Connect Actionscript API (no JS, just straight Flash), how can I listen for

Posted by techno on Stack Overflow See other posts from Stack Overflow or by techno
Published on 2010-04-08T19:11:12Z Indexed on 2010/04/08 19:13 UTC
Read the original article Hit count: 245

Filed under:
|
|
|

Hey guys,

When using the Facebook Connect AS API, the user will be prompted to log in to FB in a pop up window. At this point I want to block interaction in my flash movie and wait for them to complete logging in (or potentially close/cancel and not log in). I have seen examples where people put up a Flex "Alert" box with some hint like "Press ok once you have logged into facebook", but I want to automatically listen for them logging in or canceling/closing the popup window without logging in.

Is there an event I can listen for with flash? So far I am using ZERO javascript, but I guess I could add a little if it is needed for this... I definitely want to avoid having some sort of "Press OK" alert box, but instead have the flash application automatically react to the user logging in with the popup window.

© Stack Overflow or respective owner

Related posts about facebook

Related posts about connect