How to get the AS3 SDK for Facebook Platform and the CS SDK to play nice?

I tried to combine a very basic Photopshop Panel created with the CS SDK v1.5 and the AS3 Facebook SDK (http://code.google.com/p/facebook-actionscript-api/), but get the following errors when I try to login to Facebook in the Panel.
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\MikeHunt\Work\facebookGr aphApi\desktopAPI\com\facebook\graph\windows\AbstractWindow.as:129]
at com.facebook.graph.windows::LoginWindow/open()[C:\Users\MikeHunt\Work\facebookGraphApi\de sktopAPI\com\facebook\graph\windows\LoginWindow.as:130]
at com.facebook.graph::FacebookDesktop/login()[C:\Users\MikeHunt\Work\facebookGraphApi\deskt opAPI\com\facebook\graph\FacebookDesktop.as:514]
at com.facebook.graph::FacebookDesktop$/login()[C:\Users\MikeHunt\Work\facebookGraphApi\desk topAPI\com\facebook\graph\FacebookDesktop.as:161]
at Test/login()[~/work/code/flash/Test/src/Test.mxml:133]
at Test/__loginBtn_click()[~/work/code/flash/Test/src/Test.mxml:200]
I tried using csxs:CSXSWindowedApplication, mx:WindowedApplication, and mx:Application. All had the same errors.
Thanks,
forest

You download the Extension SDK as .... extension. Go to Help->Check for Updates.
The Extension SDK is listed there. If you are behind a proxy, then don't forget to configure that in Tools->Preferences.
Sascha

Similar Messages

  • How to get the thread a sequence plays on?

    Hi, this is sort of a continuation of an earlier question... I have a sequence that plays back with imperfect timing. I would like to 'get a hold' of the thread that it plays back on in order to check / change its priority, etc.
    But a Sequencer is an interface; and it is gotten from the MidiSystem, which is also an interface. I am stumped as how to go about accessing the Java Sound Sequencer thread which does in fact get created by my program when I get a Sequencer from the MidiSystem.
    An excellent suggestion was given to me to extend Sequencer, then use the Thread.getCurrentThread() on my "MySequencer" object. To get a Sequencer, you call MidiSystem.getSequencer() - I can't figure out how to get a "MySequencer" (object that extends Sequencer) rather than a Sequencer from the MidiSystem.
    So, to be clear, my question is - Is there a way to get a reference to the thread that a sequence plays back on?
    Forgive me if this is a boneheaded question... I should have taken more Java classes back when I was in school...
    Thanks

    You think the GUI should be sluggish and keyboard and mouse capture delayed so someone can hear Fur Elise with precise timing as they laggingly scroll through a JTable with their mouse while waiting a few seconds for button clicks to occur?YES! That's ABSOLUTELY what I am suggesting. In none of my previous posts have I said or even suggested that the MIDI file was to be playing in the background have I? This program is about real time music recording and playback. Live, that is.* In front of an audience*. If a midi burp were OK with me, I would not have been pursuing this, would I? Everything I have posted is in relation to the timing needs I have for this program. I don't care if the flippin' screen goes blank, if the MIDI timing is good.
    OK?
    Briefly: The program has two main ... uh.. use cases. First, the GUI is used to pre-program which clips are to played where. This is not done in real time, so I am indifferent to any consideration of timing. It is mainly for this that I use the JTable. But in the Second case, when the play button is hit, the sequence plays and the clips are triggered according to what was previously been entered int the JTable. This sequence plays a drum track which I play along with. The sequence also triggers the clips to be played (via MetaMessages) which have to be to be in time with everything else - or else the program is utterly useless. So I hope you can see that at this point, the GUI doesn't really matter that much, but the timing of the MIDI sequence is crucial.
    I agree with you that perfect midi timing might not be all that important for everyone. But here's a quote from the Java Sound tutorial:
    "The Java Sound API does not include sophisticated sound editors or graphical tools, but it provides capabilities upon which such programs can be built."
    Surely Sun would not expect application designers to go to the trouble of building such programs if the Java Sound API was designed to deliver flawed Midi timing at best? Am I mistaken in thinking that stable Midi timing is possible? From all that I have read over at the Java Sound Resources web site it seems that not everybody suffers from bad MIDI timing.
    -Scott

  • How to get sum of bugs for particular Mnth and particular Year dynamically?

    Hi All,
    I've a query related to dynamic date and year :
    select bug_id,
    category,
    count(*) Total_bugs,
    SUM(CASE when bug_date >= '10/1/2011' and bug_date <= '10/31/2011' Then 1 else 0 end) OCT_11,
    SUM(CASE when bug_date >= '9/1/2011' and bug_date<= '9/30/2011' Then 1 else 0 end) SEP_11,
    FROM AA_BUG_TBL
    GROUP BY BUG_ID,BUG_CATEGORY
    In the above query,Can we write one sum statement to get sum of bugs for a particular month and particular year dynamically?
    for ex:2 bugs between 10/1/2011 and 10/31/2011 then 2 under oct_11
    5 bugs between 09/01/11 and 09/30/2011 then 5 under sep_11
    In this case we need to calculate correct no of days for feb
    Thanks,
    Mahender.

    So...
    You need to iterate based on something like the month, quarter, year... Then query on that. I'll use a "WITH" clause to illustrate:
    with my_bugs as
        select bug_id
             , bug_date
             , case when to_char ( bug_date, 'QYYYY' ) = '12009' then 1 else 0 end y2009q1_bug
             , case when to_char ( bug_date, 'QYYYY' ) = '22009' then 1 else 0 end y2009q2_bug
             , case when to_char ( bug_date, 'QYYYY' ) = '32009' then 1 else 0 end y2009q3_bug
             , case when to_char ( bug_date, 'QYYYY' ) = '42009' then 1 else 0 end y2009q4_bug
             , case when to_char ( bug_date, 'YYYY' ) = 2009 then 1 else 0 end y2009_bug
             , case when to_char ( bug_date, 'YYYY' ) = 2010 then 1 else 0 end y2010_bug
             , case when to_char ( bug_date, 'YYYY' ) = 2011 then 1 else 0 end y2011_bug
             , case when 1 = 1 then 1 else 0 end is_bug_flag
          from bugs
      select bug_id
           , bug_date
           , sum   ( y2009q1_bug ) over () as total_bugs_2009q1
           , sum   ( y2009q2_bug ) over () as total_bugs_2009q2
           , sum   ( y2009q3_bug ) over () as total_bugs_2009q3
           , sum   ( y2009q4_bug ) over () as total_bugs_2009q4
           , sum   ( y2009_bug   ) over () as total_bugs_2009
           , count (*)             over ( partition by is_bug_flag ) as total_bugs
        from my_bugsI mocked up some data so my results will be drastically different than yours but here are the results:
        BUG_ID BUG_DATE  TOTAL_BUGS_2009Q1 TOTAL_BUGS_2009Q2 TOTAL_BUGS_2009Q3 TOTAL_BUGS_2009Q4 TOTAL_BUGS_2009 TOTAL_BUGS
          2014 10-SEP-10                 0                 0               114              1143         1257         10000
          2015 14-APR-10                 0                 0               114              1143         1257         10000
          2016 30-NOV-09                 0                 0               114              1143         1257         10000
          2017 03-JUN-11                 0                 0               114              1143         1257         10000
          2018 29-DEC-10                 0                 0               114              1143         1257         10000
          2019 12-JAN-11                 0                 0               114              1143         1257         10000
          2020 21-APR-10                 0                 0               114              1143         1257         10000
          2021 12-JAN-11                 0                 0               114              1143         1257         10000
          2022 29-NOV-10                 0                 0               114              1143         1257         10000
          2023 20-JUL-11                 0                 0               114              1143         1257         10000
          2024 04-MAR-11                 0                 0               114              1143         1257         10000

  • How to Get the iPhone to NOT Play All Audio Through Bluetooth Earpiece?

    I have a Jawbone earpiece, and when it's connect to my iPhone, all sounds (not just telelphone conversations) are sent to it. Since I don't leave it in my ear when I'm not on a call, I don't hear alerts for incoming messages and e-mails. Is there a way to change this behavious so that only the audio from telephone conversations is sent to my earpiece?

    I got the answer here:
    http://forum.java.sun.com/thread.jspa?threadID=5149132&tstart=15
    I tried getDuration() before, but it always return a same time, I think maybe I didn't realize the player.

  • How to get client side validation for double range and double field in stru

    Hi,
    I have achieved client side validation by using <html:javascript formName=""/>
    All fields shows client side validation but double field and double range field is not shows client side validation but shows server side validation.
    I am using Liferay jboss server.
    Please tell me a way to achieve client side validation for double field and double range.
    Thanks & Regards,
    Brijesh Baser

    I see in the query component there is a QueryListener and a QueryOperationListener. Have you tried letting Jdeveloper create methods for these in some backing bean, and putting in some debug code to see when these methods run? I would think one of them could very well be used to validate the input, somehow; if the input were bad you could just raise an exception and pass your error message, I bet.
    If not...
    I am pretty sure that there is an appendix in the Fusion Developer's Guide for Forms developers turned to Java...you might look at what it says for post query. I know in the 10.1.3.0 equivalent documentation, they gave reference to a method in the ViewObject which fired for each record after a query was run. You could definitely intercept this query return from there. In fact doing something like this may be something like what Frank N. was intending when he mentioned ViewObjects "validation". Not sure though. I am still learning what new features there are in 11g adf/bc.
    Good luck.

  • Firefox V 25.0.1 on an iMac OSX 10.9 will not play streamed audio from a web site. Audio on Safari V7 OK. Any ideas on how to get the Firefox audio to play?

    The audio on the site is in MP3 format. The site is coded in PHP.

    I'm not sure if the current Firefox release is supporting MP3 in an audio or video tag if that is what is used to play this media file.
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=851290 bug 851290] - Use GStreamer on Mac for H.264/MP3/AAC playback (instead of AV Foundation)
    <i>Please do not comment in bug reports: https://bugzilla.mozilla.org/page.cgi?id=etiquette.html</i>

  • How to get the size of all InfoCubes and DSO's?

    Hi all,
    My client wants a complete list of all InfoCubes and DSO's in terms of size (no records but KB). This list of the Cubes / DSO's gives us a picture of the used storage per Area and can be charged. Iu2019ve seen some threats and looked into the possibilities of ST14 and DB02. ST14 provides the ideal list but with a restriction for the top 30 InfoCubes and the top 30 DSO's. Does anyone know how to get such a list for all InfoCubes and DSO's?
    Thnx in advance,
    Henk.

    Hello Henk,
    while I am searching for some performance problems in our BI, I tried to look through the new DB02 of BI 7.0. And there is a function which helps a lot creating lists of Cube, DSOs and so on:
    Start DB02
    On the left side find SPACE -> Additional Functions -> BW Analysis
    A Doubleclick will give you a broad survey of the current memory disposition regarding BI/BW objects.
    In the BW Area "Cubes & related objects" you can find Infocube E- and F-Facttable. Depending on the Compressed state of your cubes you will find more data in E or F. Just doubleclick on one of these Entries. In my environment currently F-Tables are more effective.
    You will then get a list of all Infocubes with size.
    You will have to this for E and F Tables and some up over the Infocubes. But, because this will show only the Cubes and not the partitions of the cube it will be much easier to handle than DB02OLD.
    Perhaps this helps, because you did not mention your BW/BI release.
    Kind regards,
    Jürgen

  • How to get count of rows for a table?

    Hi,
    How to get count of rows for a table and secondly, how can i have access to a particular cell in a table?
    Regards,
    Devashish

    Hi Devashish,
    WdContext.node<Your_node_name>().size() will give you the no: of rows.
    This should be the node that is bound to the table's datasource property.
    WdContext.node<Your_node_name>().get<node_name>ElementAt(index_value); will select the row at that particular index.
    You can access an attribute of a particular row as
    WdContext.node<Your_node_name>().get<node_name>ElementAt(index_value).get<attribute_name>();
    Hope this helps,
    Best Regards,
    Nibu.
    Message was edited by: Nibu Wilson

  • How to get the primarykey columns of the table in SAP BI Java SDK

    Hi, I'm new to sap BI Java SDK. I'm not getting how to get the primarykey columns, using BI JDBC Connector (for relational data sources). If anybody knows, please let me know. its very very urgent task to be done in my project. In the below following code.... I have written a code to connect to the database through resource bundle, reading table names, once user select table name, i need to show the primary key columns of that table to the user. here i'm not getting how to get the primary key columns . Please send me the code if there is any method to find out the primarykey columns or a logic to get them. I will be greatful to you.... if you can do this favour.
    Please check out the following code ........
    ManagedConnectionFactory mcf;
    IConnectionFactory cf;
    IConnectionSpec cs;
    mcf = new JdbcManagedConnectionFactory();
    cf = (IConnectionFactory) mcf.createConnectionFactory();
    cs = cf.getConnectionSpec();
    ResourceBundle rbLocal = ResourceBundle.getBundle( "xxxx");
    Enumeration propnames = rbLocal.getKeys();
    while (propnames.hasMoreElements())
    String key = (String) propnames.nextElement(); //out.print(key); //out.println("="rbLocal.getString(key)"");
    cs.setPropertyValue(key, rbLocal.getString(key));
    // Establishing the connection. // The IBIRelational interface provides an entrypoint to access // metadata and execute queries.
    IBIConnection connection = (IBIConnection) cf.getConnectionEx(cs); I
    BIRelational rel = connection.getRelational();
    IBIQuery query = rel.createQuery();
    String sqlStatement = "SELECT * FROM " + "BICQPERSON where type='pk'"; ResultSet rs = IBIDataSet dataset = query.execute();
    Thanks SreeKanth

    Hi,
    looks like you are on Infomation Builders, correct? If yes through which adapter and to what DB are you connecting?? in an R3/BW system you can do the folowing:
    "(ABAP)
    SELECT DISTINCT FIELDNAME
    FROM DD03L
    WHERE TABNAME = '/BIC/QPERSON'
      AND AS4LOCAL = 'A'
      AND KEYFLAG = 'X'
    ORDER BY 1
    Another option is goto directly to the RDBMS; in this case let me which one are you using
    hope this helps...
    Olivier.
    Message was edited by:
            Olivier Cora

  • Regarding: How to get the Tax Breakup  Amount using SDK

    Hai Friends,
                   I created one saled order . I have given Tax code (Service) then it show total  amout of tax is 370.80. when i click the link button of Tax Amount field  from sales order then it show  the  Tax Breakup Details in Separate Screen of SAP. That screen Contain following Details.
    From Caption is : Define Tax Amount  Distribution
          Type               Tax Parameter Code         Tax Parameter Name                Rate            Duty         Tax Amount        Base Amount
          Service           Service                            Service Tax                               12                                 360.00
          Cess_ST        Cess_ST                          Education Cess for Sevice          2                                     7.20
          HSCess_ST   HSC_ST                            HSCee for Service                      1                                     1.00
                  My Doupt is :
                           How do i get the Service tax Breakup value from above grid.
                           How to get the Tax Breakup value from that SAP Screen, is it any help in SDK.
    Please Help Me.
    Regards,
    K Sakthivel
    Edited by: ksakthivel on Dec 7, 2011 10:41 AM
    Edited by: ksakthivel on Dec 7, 2011 10:53 AM
    Edited by: ksakthivel on Dec 7, 2011 10:54 AM

    Hai Friends,
                   I created one saled order . I have given Tax code (Service) then it show total  amout of tax is 370.80. when i click the link button of Tax Amount field  from sales order then it show  the  Tax Breakup Details in Separate Screen of SAP. That screen Contain following Details.
    From Caption is : Define Tax Amount  Distribution
          Type               Tax Parameter Code         Tax Parameter Name                Rate            Duty         Tax Amount        Base Amount
          Service           Service                            Service Tax                               12                                 360.00
          Cess_ST        Cess_ST                          Education Cess for Sevice          2                                     7.20
          HSCess_ST   HSC_ST                            HSCee for Service                      1                                     1.00
                  My Doupt is :
                           How do i get the Service tax Breakup value from above grid.
                           How to get the Tax Breakup value from that SAP Screen, is it any help in SDK.
    Please Help Me.
    Regards,
    K Sakthivel
    Edited by: ksakthivel on Dec 7, 2011 10:41 AM
    Edited by: ksakthivel on Dec 7, 2011 10:53 AM
    Edited by: ksakthivel on Dec 7, 2011 10:54 AM

  • How to get the data from pcl2 cluster for TCRT table.

    Hi frndz,
    How to get the data from pcl2 cluster for tcrt table for us payroll.
    Thanks in advance.
    Harisumanth.Ch

    PL take a look at the sample Program EXAMPLE_PNP_GET_PAYROLL in your system. There are numerous other ways to read payroll results.. Pl use the search forum option & you sure will get a lot of hits..
    ~Suresh

  • How to get the last error for while loop?

    How to get the last error for while loop? I just want transfer the last error for while loop, but the program use the shift register shift all error every cycle.

    What do you mean by "get" and "transfer"?
    If the shift register is not what you want, use a plan tunnel instead.
    Typically, programmers are interested in the first, not last, error.
    Can you show us your code so we have a better idea what you are trying to?
    LabVIEW Champion . Do more with less code and in less time .

  • How to get the "last changed by" for a set of function modules?

    How to get the "last changed by" for a set of function modules?
    is there any table to get it??

    See [this|Re: Date of creation of function module] I posted earlier.
    >TFDIR will give you the name of the function group program and the include number.
    >E.g. SAPLZFUNCGROUP Include 01.
    >From this you can construct the include name: LZFUNCGROUPU01.
    >You can look this up in TRDIR to find the creation date (CDAT) of the function module.
    In your case, you need unam and udat.
    matt

  • How to get the View for a particular Document position?

    Hi there,
    Does anyone know how to get the "deepest" View that is responsible for rendering a particular Document offset?
    I tried looking at modelToView() and some other methods, but I am lost.
    Can anyone please help me?
    Thanks,
    Swati

    Bart--
    To find the table cell of the insertion point, you could use something like:
    InterfacePtr<ITextStoryThread> storythreadp(txtModel->QueryStoryThread(startPos + 1));
    InterfacePtr<ICellContent> cellcontentp(storythreadp, UseDefaultIID());
    if (! cellcontentp) {
      // Not a table cell, so see if it's the primary thread (kTextStoryBoss/ITextModel).
      InterfacePtr<ITextModel> threadmodelp(storythreadp, UseDefaultIID());
      if (threadmodelp) {
        // It's the primary thread...
      else {
        // It's something else with an ITextStoryThread (note, footnote, etc.).
    else {
      // The insertion point's in a table cell (kTextCellContentBoss).
      InterfacePtr<ITableModel> tableModel(cellcontentp->GetTableModel(), UseDefaultIID());
      GridID gridID(cellcontentp->GetGridID());
      GridAddress gridLoc(cellcontentp->GetGridAddress());
      // ...and so on.
    Hope this helps get you where you want to go.
    Chris Roueche / Freelance Developer

  • How to get the user created at and modified at properties for a site collection using powershell

    Hi guys, I Know how to get the list of users of a site collection by Get-SPUser cmdlet but hte problem is that this cmdlet doesnt give me the user Created at and modifed at properties 
    can any one tell me how to get these values via powershell???? 
    ps: ignore the 2013 screenshot.. i just want a way to get those values .. if you provide me solution in either 2010 or 2013 , i will crack the other..
    plz guys help me ...

    Get the User Information list and then get the user from that list
    $web = Get-SPWeb "siteUrl"
    $userInfoList = $web.SiteUserInfoList
    $userItem = $userInfoList.Items[0]; #0 here is just for demonstration. You take the user you want here or loop through all users.
    $created = $userItem["Created"]
    $modified = $userItem["Modified"]

Maybe you are looking for

  • Photoshop hangs up when writing text

    I have workstation Dell Precision T5400 Base Intel Xeon E5420 (2.50GHZ, 1333Mhz, 2x6MB,Quad Core) Operating System Windows Vista® Business SP1 64Bit Memory 8GB DDR2 667 Quad Channel FBD Memory (4x2GB) Video Card 512MB PCIe x16 nVidia Quadro FX 1700 (

  • Acrobat 7.1 update over 7.0.9 with GPO and Active Directory

    Hello all. Our environment is Windows 2000 sp4 for clients and Windows Server 2003 We have been using two AIPs for Acrobat 7.0.9 (Pro and Standard) deployment, customized with Install Shield Tuner for Acrobat 7. When we patched them to v7.1.0 using t

  • Issue while checking data in table

    i have writtten aprogram to check the data in the table. program is like REPORT  ZTEST3. tables zempdata. data wa_zempdata type zempdata. loop at zempdata into wa_zempdata. WRITE: / 'Runtime 1', wa_zempdata-employee_number. WRITE: / 'Runtime 2', wa_z

  • When using Firefox I cannot obtain Gmail in Standard View, only in HTML.

    When using Firefox I cannot obtain Gmail in Standard View, only in HTML. It's OK in Chrome. How do I correct this? Firefox is my default browser.

  • Tutorial to install and configure

    Hi everyone, I think my problem is quite simple for all of you. I'm having problems to install and configure Gatekeeper because I think the tutorials here: http://download.oracle.com/docs/cd/E14148_01/wlcp/ocsg41_otn/installguide/installers.html and