Anyone here built an iOS or Android Flash Air app that logs in using Facebook?

I need to pick your brains. If you know your stuff, happy to hire you as a consultant of course.
Cheers

below is an excerpt from my book:  http://www.amazon.com/Flash-Game-Development-Social-Mobile/dp/1435460200/ref=sr_1_1?ie=UTF 8&qid=1383921218&sr=8-1&keywords=gladstien
The simplest way to hook into Facebook is to add their Plugins to add a Like button, Send button, Login button etc to your game.  If you only want to add a Like button to a page on your website, you can use the following iframe tag anywhere (between the body tags) in your html document where you want the Facebook Like button to appear:
<iframe src="http://www.facebook.com/plugins/like.php?href=yoursite.com/subdirectory/page.html" scrolling="no" frameborder="0" style="border:none; width:500px; height:25px"></iframe> 
Where the href attribute is equal to the absolute URL to your html file.  For example:
<iframe src="http://www.facebook.com/plugins/like.php?href=kglad.com/Files/fb/" scrolling="no" frameborder="0" style="border:none; width:500px; height:25px"></iframe>
points to index.html in kglad/com/Files/fb.
However, to get the most out of Facebook you will need to use JavaScript or the Facebook ActionScript API and register your game on the Facebook Developer App page.  Before you can register your game with Facebook, you will need to be registered with Facebook and you will need to Login. 
Once you are logged-in, you can go to https://developers.facebook.com/apps and click Create New App to register your game with Facebook.  (See Fig11-01.) 

Similar Messages

  • Flash AIR app cannot load child swfs on publish to device

    I have been struggling with this problem for WEEKS now and can't solve it. I have an flash AIR app (creative cloud, AIR 3.8) which is very simple: all it does is load external SWF movies on the click of a start button. It works FINE in test/PC but when I publish to device, the external swfs do not load.
    Here is the code on the main timeline that calls the external swfs:
    //start button
    start_button_TRI_desmatosuchus.addEventListener(MouseEvent.CLICK, fl_ClickToLoadUnloadSWF_02_3,false,0,true);
    import fl.display.ProLoader;
    import flash.events.Event;
    var fl_ProLoader_02:ProLoader;
    var fl_ToLoad_02:Boolean = true;
    function fl_ClickToLoadUnloadSWF_02_3(event:MouseEvent):void
              if(fl_ToLoad_02)
                        fl_ProLoader_02 = new ProLoader();
                        fl_ProLoader_02.load(new URLRequest("dinofilms/triassic_desmatosuchus.swf"));
                        fl_ProLoader_02.contentLoaderInfo.addEventListener(Event.COMPLETE,onComplete_02 )
                        addChild(fl_ProLoader_02);
                        fl_ProLoader_02.x = 0;
                        fl_ProLoader_02.y = 144;
              else
                        if (fl_ProLoader_02!=null) {
                                  removeChild(fl_ProLoader_02);
                                  fl_ProLoader_02.unloadAndStop();
                                  fl_ProLoader_02 = null;
              fl_ToLoad_02 = !fl_ToLoad_02;
    function onComplete_02(e:Event):void {
              e.currentTarget.content.addEventListener(Event.ENTER_FRAME,OEF_02);
    function OEF_02(e:Event):void {
              if (e.currentTarget.currentFrame==e.currentTarget.totalFrames) {
                        e.currentTarget.stop();
                        e.currentTarget.removeEventListener(Event.ENTER_FRAME,OEF_02);
                        removeChild(fl_ProLoader_02);
                        fl_ProLoader_02.unloadAndStop();
                        fl_ProLoader_02 = null;
    I am calling about 30 different movies on 30 different frames, so that's why I am using tags like "proLoader_01" so I don't duplicate them. All the external swfs are of course listed in the included files too.
    I would really appreciate the assistance, I am a reluctant coder!
    Message was edited by: Fiona Passantino

    OK, I replaced all the "ProLoader" instances with "Loader" and I am getting an error, below (see***)
        //start button
        start_button_TRI_coelophysis.addEventListener(MouseEvent.CLICK,
        fl_ClickToLoadUnloadSWF_01_3,false,0,true);
        import fl.display.Loader; **HERE, ERROR IS: 1172 fl.display:Loader could not be found**
        import flash.events.Event;
        var fl_Loader_01:Loader;
        //This variable keeps track of whether you want to load or unload the SWF
        var fl_ToLoad_01:Boolean = true;
        function fl_ClickToLoadUnloadSWF_01_3(event:MouseEvent):void
         if(fl_ToLoad_01)
              fl_Loader_01 = new Loader();
              fl_Loader_01.load(new URLRequest("dinofilms/triassic_coelophysis.swf"));
              fl_Loader_01.contentLoaderInfo.addEventListener(Event.COMPLETE,onComplete_01)
              addChild(fl_Loader_01);
              fl_Loader_01.x = 0;
              fl_Loader_01.y = 144;
         else
              if(fl_Loader_01!=null) {
                   removeChild(fl_Loader_01);
                   fl_Loader_01.unloadAndStop();
                   fl_Loader_01 = null;
         fl_ToLoad_01 = !fl_ToLoad_01;
        function onComplete_01(e:Event):void {
         e.currentTarget.content.addEventListener(Event.ENTER_FRAME,OEF_01);
        function OEF_01(e:Event):void {
         if(e.currentTarget.currentFrame==e.currentTarget.totalFrames) {
              e.currentTarget.stop();
              e.currentTarget.removeEventListener(Event.ENTER_FRAME,OEF_01);
              removeChild(fl_Loader_01);
              fl_Loader_01.unloadAndStop();
              fl_Loader_01 = null;

  • I have a new Iphone 5, my wife has a 4S and an iPod Touch.  When I sync my new 5 to the Mac, it pick up ALL of the stupid game apps that my wife uses on her two devices.  How can I keep them separate?

    I have a new Iphone 5, my wife has a 4S and an iPod Touch.  When I sync my new 5 to the Mac, it pick up ALL of the stupid game apps that my wife uses on her two devices.  How can I keep them separate?

    go to itunes preferences, store, uncheck automatic downloads. also when your phone is connected you can click  on apps and only check the ones you want on your phone, go down to the bottom right and click apply.

  • Can anyone recommend an app that I can use for business please?

    I'm a driving instructor and would love an app that I can use on the go to do my accounts. It would be great if it could link to my iCal as this is where I keep my appointments and lesson details. I use an iphone 3gs.

    Try looking here: http://appshopper.com/ipad/

  • Can anyone tell me an app that I can use to group my apps

    Can anyone tell me an app that I can use to group my apps

    You may want to create folders for your apps.
    http://ipad.about.com/od/iPad_Guide/ss/iPad-101-New-Users-Guide-Install-Move-Del ete-Folders_7.htm

  • Flash-Air-App for iOS and Apples new App Store guideline (XCode 5)

    Hi Forum,
    i'm using Flash CC for the development of an iOS App (AIR).
    Now Apple will soon update the iOS to 7.1 and Apple says, that from 1st of Feb. 2014 you can only publish iOS-Apps created in XCode 5 in App Store.
    Or how do I have to read this statment from Apple: "Starting February 1, new apps and app updates submitted to the App Store must be built with Xcode 5 and iOS 7 SDK."
    How does this fact affect my Project?
    Will it still be possible to publish an FLash-Air-iOS-App through App Store?
    Thank you in advance
    Ralf Kopp

    Adobe fixed this internally. Just update your adobe air sdk to latest from labs.adobe.com

  • I UPDATED MY IPAD TO IOS 5 AND LOST MY APP THAT I PAID 15 BUCKS FOR DOES ANYONE KNOW IF I CAN GET IT BACK?

    I updated my Ipad2 and I didnt realize I would lose my apps that I paid for...I paid 15 bucks for the microsoft office document program and its gone! Does anyone know what I can do? Or am I just out the money?

    thanks. for some reason its not in my library either and I looked in my bank account and it doesnt say the name of the software so I cant find it anywhere. I think it was documents to go but it was $14.99 and now its showing on the apps site $16.99 so it has me too nervous to install again. I think Im going to call the 800 number tomorrow that is on my bank account ledger but thank you very much for your help. Im just very surprised its nowhere to be found on itunes when I bought it Dec 27th 2011 is it possible all of 2011 purchases are gone? Anyhow Im going to take some classes because I have the iphone, imac and the mac at home and Im having such trouble...not sure why I made the switch, I guess becasue I thought it was cool....stupid move...lol

  • Here is How you close out an iPhone app that is running in the background

    How do you close out an iPhone app that is running in the background in the new iOS 4? We’ve had more than one reader ask this question since the launch of the new iPhone operating system, and the iPhone 4, last week. Some have asked about this due to battery drain concerns, and others just because they want to be able to shut down a backgrounded app.
    So this seems as good a time as any to share a quick tip on how you can force apps to close in the new iOS 4.
    There are two ways to fore an app to close down under iOS 4. The first is by doing a ‘force quit’ on the app, just as we have done under the previous version of the iPhone OS. To do this, you press and hold the power button while you are in the app you want to close down. Wait for the ‘Slide to power off’ bar appears across the top of the iPhone – then don’t hit Cancel, but instead just hold down the Home button continuously until the app closes and you drop back to the home screen.
    The much easier method now available in iOS 4 is to use the Multitasking bar to close any app you want. Here’s how:
    – Double tap the Home button to bring up the Multitasking bar
    – Press and hold anywhere on the multitasking bar until the icons on it start to wiggle.
    – While they are wiggling, each icon has a Minus sign symbol above it.
    – Press the Minus symbol above any app to close it down.
    That’s it. This will work for any app you want to close, including the Apple built-in apps like Mail and Safari etc.
    Hope this quick tip is helpful to some of you who are getting to know iOS 4.

    The apps on the bottom are recently accessed apps. Instead of closing when you exit the app they go into a suspended state, and will load faster when you next launch them. Unless they are a streaming app (like Pandora) they do not use any power when they appear in the active app list.
    This information, as well as the OP's post, are in the latest user guide. I guess nobody reads manuals anymore

  • HT3702 Does anyone know how to get a refund for an app that is no longer required.

    I have downloaded apps that I no longer require, does anyone know how I can get a refund. I would greatly appreciate any assistance.

    Apple considers all sales to be final. There are no refunds. Especially no refund just because you think that you don't need to use the app anymore.
    When you don't need your vacuum cleaner any more because you have a new one, does Walmart let you bring the old on back for a refund?

  • Has anyone here built a front end using the API?

    .. and if so, how have you found it? I need to create one sharpish (most likely using the generated JSP pages from JDeveloper)
    any pointers, links to tutorials, pitfalls and best practice would be greatly appreciated, as well as comments on your own experience. If you've found real problems, this would be interesting too.
    Thanks in advance,
    Dan

    The assumption above is using the ADF or any Web framework technology it's not that hard to develop. Afterthe post I gave it a try and I was able to list deployed processes and list of instances and their configurations in a nice table format.
    But the problem I see is it's not that easy to simulate BPEL PM visual flow, audit trail functionalities which I feel are very useful for trouble shooting. The APIs give you proprietary XML dump and you have to do some sort of XSL transformation to present it in a meaningful way.
    Hopefully Oracle addresses this and seperate the Admin and BPEL process auditing/troubleshooting aspects in BPEL PM Console very soon.
    Regards,
    Rajesh

  • Flash- Air App creation distortion of images

    Every time I package an android application and run it from my phone it really distorts images/movieclips.   I can see slight transparancies around movieclips that shouldnt be there, images look pixelated, when played on the computer it shows no issues with any of it.   Are there any tips or tricks to solving this?  Also the performance just is spotty on the devices. Was using flash cs5 and just DL the trial of 5.5.  Also is there a place to look at best practices for optimizing adobe air applicatiosn for mobile devices?
    Thanks

    Use "Allow smoothing" from the library for images.
    Optimization:
    http://www.adobe.com/devnet/devices/articles/optimization_features_fp101.html

  • Does anyone know if there is a special macbook air app for Junos Pulse

    My company used SAP, and I'm trying to gain access w/out having to boot up into a windows environment on my macbook air.  I was told I could use the app Junos Pulse and download the SAPGUI locally.  Is there a app specially for the the macbook's and has anyone tried this?
    Thanks

    there is indeed a Mac OSX Junos Pulse client.
    You can download it here:
    http://www.juniper.net/support/products/pulse/3.0/#sw

  • What do you do when what you need to open is in adobe flash? Is there an app that can be used in place do adobe?

    I am unable to access anything that is in adobe flasH on my ipad2.  Is there an app or way to access items in adobe?

    Patricia ~ Click here:

  • The characters on the screen of my iphone 4s 16g black, ios 8 suddenly beacme so large that I cannot use the phone, not even to key in the pass code. what should I do?

    I have an iphone 4s black 16g. The characters on screen have gone so large that I cannot key in the passcode to access the phone or make a call, can anybody help out? I have tried rebooting, without success.

    Double-tap the screen with THREE fingers. Then log in and go to Settings/General/Accessibility and turn off Zoom. For more information see: iOS: Configuring accessibility features - Apple Support

  • After installing the new IOS 7 can't close apps I'm not using

    I used to be able to double click to bring up the apps I wanted to close out of (thus, helping my system not bog down).  I guess this is no longer an option with IOS 7?

    It is still an option... look to your right under "More Like This" for related discussions. -->

Maybe you are looking for

  • No audio except when booting up

    MacBook Pro 15" mid-2010 2.66 G Intel Core i7 4 G 1067 MHz DDR3 OS X 10.8.5 My audio is gone, except for the sound when booting up. The speaker icon is grayed out. When I go to System Preferences->Sound->Output, the internal speakers are not there. T

  • [JClient 9.0.3] Trapping events and canceling actions

    Subject: [JClient 9.0.3] Trapping events and canceling actions I'd like to be able to, based on some condition, abort certain actions (navigate, delete, insert, etc, etc) when the appropriate events have been fired. E.g., in case the Transaction is d

  • Strange Output issue of Procedure

    Hi, I have a Procedure with Two Out parameter of table type. I am using DB Adapter to fetch these two out parameter. One out is for Header rows and other out is for detail rows. The strange thing is that when I test this composite using SOA server i

  • How do i use synths?

    i know it must sounds stupid but im used to using cubase and in that you just need to choose the output of your midi track to a synth and bingo. but i want to learn how to use the plugins in logic pro and every tutorial i read never seems to help and

  • Now that I have set up the printer, how do I set up my smartphone?

    Got the "eprint" email address and "HP code" that I got from HP. NOW WHAT DO I DO TO SET UP MY SMARTPHONE?  It seems that these "forums" aren't much good for those of us whom aren't tech savvy.  Some folks seem to treat me like a moron when it comes