• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Does this work for anybody?

Guest
Aug 05, 2010 Aug 05, 2010

Copy link to clipboard

Copied

Man this is a slow forum... seems not too many using FlashBuilder? If anyone has Builder 4 and the Facebook library with AIR connect v3.4 for Flex installed - could you please check out this simple script. This will just open a NativeWindow containing a Facebook login. On my machine the login and cancel buttons at the bottom are cutoff... and I don't know how to fix this. Have asked everyone I can think of thus far and have not received one reply. If anyone can help I'd really appreciate it. Here's the script:

<fx:Script>

<![CDATA[

import mx.controls.Alert;

import com.facebook.utils.DesktopSessionHelper;

import com.facebook.events.FacebookEvent;

private var session:DesktopSessionHelper;

private function init():void

{

session =

new DesktopSessionHelper();

session.apiKey =

"19a283a9cc1a6603a7cd390a9444b4b7";

session.login();

}

private function onConnect(e:FacebookEvent):void

{

if(e.success){

Alert.show(

"success","!");

}

else{

Alert.show(

"failure","!");

}

}

]]>

</fx:Script>

Views

385

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 09, 2010 Aug 09, 2010

Copy link to clipboard

Copied

LATEST

This appears to be a Flex query. Could you please try posting your query to the Flex forums

http://forums.adobe.com/community/flex/flex_general_discussion

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines