Problem with opening and closing windows

Hi,
I have a Flex Desktop Application with a Splash screen that
displays for 5 seconds which is the initial WindowedApplication
which uses script to centre itself in the screen at 400 x 300.
It then loads and opens up a Window where people login and
closes the splash screen (using NativeWindow.close) - the login
window it opens is again 400 x 300 and centred on the screen.
When the user susccessfully logins in, the login window needs
to load and open a Window called MainWindow which is when my
software will actually begin - this MainWindow needs to be
maximised so I have a script inside it that does this
(NativeWindow.maximise). The login window also needs to close and
this is where my problem lies. I keep getting a problem when I use
NativeWindow.close in the login window and then open the MainWindow
and run the NativeWindow.maximise.
Any suggestions or ideas on how I can do this better? This is
my first Flex application and I'm just a beginner.
I can send the Flex archive if required.

Hi,
Please check out the URLs below.
http://www.adobe.com/devnet/air/flex/quickstart/creating_transparent_window.html
http://www.adobe.com/devnet/air/flex/quickstart/launching_windows.html
http://www.adobe.com/devnet/air/flex/quickstart/
Hope this helps.

Similar Messages

  • Problem with opening and closing the lid

    when i am trying to open or close the notebook lid..there is sound of crack, there is no any physical damage happened  in  past with my notebook....

    Hello Paresh9023
    Welcome to the HP Forums!
    I understand there is a sound coming from your notebook when you close it. Whenever something like this occurs, you should contact HP support immediately for assistance. You can utilize this website to learn how to contact HP appropriately, based on your region: Contact HP Worldwide
    Please let me know if you have any other questions or concerns. Thanks!
    Mario 
    I worked on behalf of HP.

  • Customer/Vendor A/C with line item details and with opening and closing Bal

    Dear Sir / Madam,
    Is it possible to have a customer and / or vendor Sub-Ledger account-
    with line item details and with opening and closing balance detail
    for a particular period.?
    Regards
    Chirag Shah
    I thank for the given below thread which has solved the same problem for G/L Account
    Re: Report to get the ledger printout with opening balances

    Hello Srinujalleda,
    Thanks for your precious time.
    I tried the referred T-Code
    But this report is not showing Opening balance, closing balance detail.
    It only gives transactions during the specified posting period and total of it.
    Please guide me further in case if I need to give proper input at selection screen or elsewhere.
    Client Requires Report in a fashion
    Opening Balance as on Date
    + / -  Transactions during the period
    = Closing Balance as on date
    As that of appearing for G/L Account by S_ALR_87012311
    Thanks once again & Regards
    Chirag Shah

  • I just upgraded to OSX version 10.8.3 and since then all animations are defective. The dock is jerky! The effects of opening and closing windows ranging in shots!  What should I do?

    I just upgraded to OSX version 10.8.3 and since then all animations are defective.
    The dock is jerky!
    The effects of opening and closing windows ranging in shots!
    What should I do?

    You can check the status of your drive's indexing by clicking the Spotlight menu to see if there is a progress bar at the bottom of it, and can also open Activity Monitor and click the "%CPU" column to sort by CPU usage, to see if the processes "mds" or "mdworker" are currently active and using your CPU.
    If so, then wait for them to finish. However, if not then try rebooting and then hold the Shift key immediately after you hear the boot chimes. This will load the system into Safe Mode, which should run some checks and maintenance routines on the system. Then reboot normally to see if the problem persists.
    How much RAM do you have installed on your system? You can see this by choosing About This Mac from the Apple menu.

  • Customer Statement with opening and closing balances

    Dear Forum,
    The users want to generate the Customer Statement with opening and closing balances like the traditional one. The statement now generated gives the list of all open items as on date, but the users want the statement with opening balances as on the date of the begining of the range specified and the closing balance at the end of the period for which the statement is generated. Is there a way to generate the same from the system.
    Thanks for the help.
    Regards,

    Hi,
    SPRO> Financial Accounting (New) > Accounts Receivable and Accounts Payable > Customer Accounts > Line Items > Correspondence > Make and Check Settings for Correspondence
    You can use the program RFKORD10 with correspondance type SAP06 for your company code
    This program prints account statements and open items lists for customers and vendors in letter form. For account statements, all postings between two key dates, as well as the opening and closing balance, are listed.
    Regards,
    Gaurav

  • Vendor Line item with Opening and Closing Balances report regarding

    Dear All,
    I need a report for vendor line items with Opening and Closing balances.
    Thanks in advance
    Sateesh

    Hi
    Try S_ALR_87012082 - Vendor Balances in Local Currency
    Regards
    Sanil Bhandari

  • Material wise reciept and Issue report with Opening and Closing Stock

    Hi
    I need a report,Material wise Receipt and issue with Opening and Closing stock.Is there any standard report available in SAP ?
    Or we have to go for Customised Report.
    Please reply

    Hi,
    MB5B gives total receipts - if i click on the receipts i can view the multiple material documents - BUT is there any way to drill down the reciepts or view the breakup of the receipts on the same screen OR is there any other report for this.
    Regards,
    Laxmi

  • COPA reporting with open and closed projects

    Dear All,
    I am designing a COPA solution for an infrastructure providing company using project systems and posting to/settling out of projects on a monthly basis. Projects run for long periods and continually incurr costs and earn revenue untill they are closed. The requirement is to report by common characteristics (say customer group) and separately for open and closed projects. My issue is how to separate the line items of projects where status changed to closed (having posted with the status REL previously), from the open ones, without entering the projects individually in the selections screen.
    Any ideas will be greatly appreciated.
    Thanks,
    Maddy

    Dear Satya,
    http://help.sap.com/saphelp_erp2005/helpdata/en/75/ee0bbd55c811d189900000e8322d00/content.htm
    An item of a purchase requisition is only regarded as Closed if the requested order quantity has been included in a purchase order.
    You can also set an item to Closed manually. <b>This item will then not be taken into account by the materials planning and control system.</b>
    You can set the Closed indicator manually at the following points (it can later be cancelled if necessary):
    When changing a purchase requisition, on the item detail screen
    When creating a purchase order referencing a requisition, on the item detail screen of the PO
    You can still create purchase orders by referencing a requisition if this indicator has been set in the requisition concerned.
    The indicator can also be set in the case of automatic PO generation from purchase requisitions. On the initial screen of the requisition, you can specify that the requisition is to count as closed as soon as an associated purchase order has been generated, even if the complete quantity requested has not been ordered, for example (Set reqs. to "closed" indicator).
    Analyses of Purchase Requisitions:
    http://help.sap.com/saphelp_erp2005/helpdata/en/75/ee1fa755c811d189900000e8322d00/frameset.htm (visit section under Reporting in Purchasing)
    Hope this will help.
    Regards,
    Naveen.

  • Intersperse daily totals with opening and closing balance

    Hi All
    Suppose we have a data set (simplified from my query but will suffice)
      select 1 as daynum, 'CR' as trantype, 200 as amount from dual union all
      select 1 as daynum, 'DR' as trantype, -300 as amount from dual union all
      select 2 as daynum, 'CR' as trantype, 800 as amount from dual union all
      select 2 as daynum, 'DR' as trantype, -200 as amount from dual union all
      select 3 as daynum, 'CR' as trantype, 900 as amount from dual union all
      select 3 as daynum, 'DR' as trantype, -500 as amount from dual
    )How would you go about getting a result set that looks like:
    1, Opening Balance, 0
    1, CR, 200
    1, DR, -300
    1, Closing Balance, -100
    2, Opening Balance, -100
    2, CR, 800
    2, DR, -200
    2, Closing Balance, 500
    3, Opening Balance, 500
    3, CR, 900
    3, DR, -500
    3, Closing Balance, 900
    4, Opening Balance, 900
    4, Closing Balance, 900
    I'm thinking:
    generate an arbitrary number of rows for the number of days I want to report over (in this case, 4)
    cross join these with 2 row set of constants "opening" and "closing" balanace
    -> I have now an opening and closing balance row for every day
    union it with my data so that "opening/CLosing balance" is a type too (and nulls in the amount column)
    case when the type is like '%Balance' then sum(amount) over(order by day, orderkind rows unbounded preceding) else amount
    (orderkind is a constant 0 for opening, 1 for all the datarows, 2 for closing)
    Is it right?
    Is there a better way?
    Edited by: charred on Apr 1, 2010 7:03 AM

    Unless I'm missing something, Tom's answer won't work for more than 4 days?
    with t as
        select 1 as daynum, 'CR' as trantype, 200 as amount from dual union all
        select 1 as daynum, 'DR' as trantype, -300 as amount from dual union all
        select 2 as daynum, 'CR' as trantype, 800 as amount from dual union all
        select 2 as daynum, 'DR' as trantype, -200 as amount from dual union all
        select 3 as daynum, 'CR' as trantype, 900 as amount from dual union all
        select 3 as daynum, 'DR' as trantype, -500 as amount from dual union all
        select 4 as daynum, 'CR' as trantype, 900 as amount from dual union all
        select 4 as daynum, 'DR' as trantype, -500 as amount from dual union all
        select 5 as daynum, 'CR' as trantype, 900 as amount from dual union all
        select 5 as daynum, 'DR' as trantype, -500 as amount from dual
      data
      as
      ( select daynum, r
          from (select level daynum from dual connect by level <= 4),
                   (select level r from dual connect by level <= 2 )
      select daynum,
             r,
             ttype,
             amt,
             case when ttype in ( 'close', 'open' )
                  then sum(samt) over (order by daynum, r)
              end theamount
        from (
      select data.daynum,
             data.r,
             case when (nvl(t.trantype,'CR') = 'CR' and data.r = 1 )
                  then 'open'
                  when (nvl(t.trantype,'DR') = 'DR' and data.r = 2)
                  then 'close'
                  else t.trantype
             end ttype,
             case when (t.trantype = 'CR' and r = 2) or (t.trantype = 'DR' and r=1)
                  then t.amount
              end amt,
             case when (t.trantype = 'DR' and r = 2)
                  then sum(case when r=1 then t.amount end) over (partition by data.daynum)
                  else 0
              end samt
      from   t, data
      where data.daynum (+) = t.daynum
      order by daynum, r, decode( ttype, 'open', 1, 'CR', 2, 'DR', 3, 'close', 4 );
        DAYNUM          R TTYPE        AMT  THEAMOUNT
             1          1 open                      0
             1          1 DR          -300          
             1          2 CR           200          
             1          2 close                  -100
             2          1 open                   -100
             2          1 DR          -200          
             2          2 CR           800          
             2          2 close                   500
             3          1 open                    500
             3          1 DR          -500          
             3          2 CR           900          
             3          2 close                   900
             4          1 open                    900
             4          1 DR          -500          
             4          2 CR           900          
             4          2 close                  1300
                          CR                        
                          DR  Here's a solution using partitioned outer join:
    with my_tab as (select 1 as daynum, 'CR' as trantype, 200 as amount from dual union all
                    select 1 as daynum, 'DR' as trantype, -300 as amount from dual union all
                    select 2 as daynum, 'CR' as trantype, 800 as amount from dual union all
                    select 2 as daynum, 'DR' as trantype, -200 as amount from dual union all
                    select 3 as daynum, 'CR' as trantype, 900 as amount from dual union all
                    select 3 as daynum, 'DR' as trantype, -500 as amount from dual union all
                    select 4 as daynum, 'CR' as trantype, 900 as amount from dual union all
                    select 4 as daynum, 'DR' as trantype, -500 as amount from dual union all
                    select 5 as daynum, 'CR' as trantype, 900 as amount from dual union all
                    select 5 as daynum, 'DR' as trantype, -500 as amount from dual),
          dummy as (select 1 id, 'Opening Balance' descr from dual union all
                    select 2 id, 'CR' descr from dual union all
                    select 3 id, 'DR' descr from dual union all
                    select 4 id, 'Closing Balance' descr from dual)
    select mt.daynum,
           d.descr,
           decode(d.id, 1, 0,
                        2, amount,
                        3, amount,
                        4, amount + lag(amount, 2) over (partition by mt.daynum order by d.id)) amount
    from   my_tab mt
           left outer join dummy d partition by (id, descr) on (mt.trantype = d.descr)
    where  (d.id = 1 and mt.trantype = 'CR')
    or     (d.id = 2 and mt.trantype = 'CR')
    or     (d.id = 3 and mt.trantype = 'DR')
    or     (d.id = 4 and mt.trantype = 'DR')
    order by mt.daynum, d.id;
        DAYNUM DESCR               AMOUNT
             1 Opening Balance          0
             1 CR                     200
             1 DR                    -300
             1 Closing Balance       -100
             2 Opening Balance          0
             2 CR                     800
             2 DR                    -200
             2 Closing Balance        600
             3 Opening Balance          0
             3 CR                     900
             3 DR                    -500
             3 Closing Balance        400
             4 Opening Balance          0
             4 CR                     900
             4 DR                    -500
             4 Closing Balance        400
             5 Opening Balance          0
             5 CR                     900
             5 DR                    -500
             5 Closing Balance        400ETA: And, if there can be any number of CR or DR rows:
    with my_tab as (select 1 as daynum, 'CR' as trantype, 200 as amount from dual union all
                    select 1 as daynum, 'DR' as trantype, -300 as amount from dual union all
                    select 1 as daynum, 'CR' as trantype, 400 as amount from dual union all
                    select 1 as daynum, 'DR' as trantype, -500 as amount from dual union all
                    select 2 as daynum, 'CR' as trantype, 800 as amount from dual union all
                    select 2 as daynum, 'DR' as trantype, -200 as amount from dual union all
                    select 3 as daynum, 'CR' as trantype, 900 as amount from dual union all
                    select 3 as daynum, 'DR' as trantype, -500 as amount from dual union all
                    select 4 as daynum, 'CR' as trantype, 900 as amount from dual union all
                    select 5 as daynum, 'CR' as trantype, 900 as amount from dual union all
                    select 5 as daynum, 'CR' as trantype, 200 as amount from dual union all
                    select 5 as daynum, 'DR' as trantype, -500 as amount from dual union all
                    select 6 as daynum, 'DR' as trantype, -200 as amount from dual),
          dummy as (select 1 id, 'Opening Balance' descr from dual union all
                    select 2 id, 'CR' descr from dual union all
                    select 3 id, 'DR' descr from dual union all
                    select 4 id, 'Closing Balance' descr from dual)
    select mt.daynum,
           d.descr,
           mt.trantype,
           decode(d.id, 1, 0,
                        2, amount,
                        3, amount,
                        4, sum(decode(d.id, 1, 0, 4, 0, amount)) over (partition by mt.daynum)) amount
    from   (select mt1.*, row_number() over (partition by mt1.daynum order by mt1.trantype) rn
            from   my_tab mt1) mt
           left outer join dummy d partition by (id, descr) on (mt.trantype = d.descr)
    where  case when d.id = 1 and rn = 1 then 1
                when d.id = 2 and mt.trantype = 'CR' then 1
                when d.id = 3 and mt.trantype = 'DR' then 1
                when d.id = 4 and rn = 1 then 1
                else 0
           end = 1
    order by mt.daynum, d.id;
        DAYNUM DESCR           TRANTYPE     AMOUNT
             1 Opening Balance CR                0
             1 CR              CR              400
             1 CR              CR              200
             1 DR              DR             -300
             1 DR              DR             -500
             1 Closing Balance CR             -200
             2 Opening Balance CR                0
             2 CR              CR              800
             2 DR              DR             -200
             2 Closing Balance CR              600
             3 Opening Balance CR                0
             3 CR              CR              900
             3 DR              DR             -500
             3 Closing Balance CR              400
             4 Opening Balance CR                0
             4 CR              CR              900
             4 Closing Balance CR              900
             5 Opening Balance CR                0
             5 CR              CR              900
             5 CR              CR              200
             5 DR              DR             -500
             5 Closing Balance CR              600
             6 Opening Balance DR                0
             6 DR              DR             -200
             6 Closing Balance DR             -200Edited by: Boneist on 16-Apr-2010 17:10

  • Issue with opening and closing 13 inch MBP

    I recently received a 13 inch 8gb memory Macbook pro for educational purposes. Although I believe it is overall a great product, I have noticed an issue pertaining to opening and closing the device. Occasionally when I attempt to open the device, I notice that the black mechanism which attaches the display and keyboard together fails, or locks up in an unusual manner which prevents me from opening the device fully. This causes me to have to close the device, and open it once more. Although it doesn't appear to be a huge issue, I was wondering if this should be something of concern, or something that is common and is nothing to be worried about.

    Although this isn't something that I've personally seen before, I probably wouldn't be too concerned if it doesn't look like anything is actually broken - assuming that it didn't cause issues with using the device, that is.
    What might be a good idea, though, is if you have a few minutes and have an ARS nearby, is to make a Genius Bar appointment and let Apple take a quick look at it. It looks like some piece of mind is all you want, and given the scenario, having someone physically able to see/feel the issue is probably your best bet. The appointments are 15 minutes, and free of charge. You can make an appointment here.
    Regards,
    Gnomish8

  • Having a problem with "open" and "import" buttons!

    Hello all,
    I am having some trouble with a basic function in Logic. When I go to "file" and select "import," the window of options appears. However, when I select a file and click the "import" button, literally nothing happens. I have had a similar problem, when I go to the "file" menu and select "open." A window will appear for me to browse to the logic file I want to open, but when I click "open," nothing happens. However, if I manually go to the file and double-click it, then the file will open. The drop-down is set to "All logic document types," though I have tried "all Logic songs" with the same problem. Please help!
    Best,
    Jon

    you know whats funny, this project has to do with arrays of objects and not inheritance. We learned inheritance last week but the lab we are doing which is this, is for arrays of objects. sorry for the confusion lol. so you can completely ignore this, it actually has it in big bold letters at the top of the web page for the lab.

  • Dumb Q: problem with Find And Replace window in Flash 8

    Dear Flash Group,
    apologies if this is trivial, it's my first day using Flash.
    I downloaded a Flash project from
    http://www.flashorb.com/articles/benchmark_files/flash-benchmark.zip.
    This
    flash calls into a web service at localhost:8080. I used the
    'Find and
    Replace' window within Flash Professional 8 to locate the
    string
    'localhost:8080' and replaced it with plain 'localhost'.
    However, when I 'Debug the Movie' (Ctrl-Shift-Enter), it
    still tries to
    access port 8080! Obsiously, my replace command did not do
    what I thought it
    would do. I opened the FLA file in a binary editor, and saw 4
    more
    references to 8080, One if them in 'Properties' of a
    WebServicesConnector,
    but I cannot figure out how to find the other occurences.
    Checking on google, I see lots of people having similar
    problems, but no
    solutions
    Any ideas?
    Regards, /george
    PS. What do you guys do for code completion - is there a tool
    that would
    bring Flash on par with an professional IDE?

    george,
    > when I 'Debug the Movie' (Ctrl-Shift-Enter), it still
    > tries to access port 8080! Obsiously, my replace
    > command did not do what I thought it would do.
    Agreed.
    > I opened the FLA file in a binary editor, and saw 4
    > more references to 8080, One if them in 'Properties'
    > of a WebServicesConnector, but I cannot figure out
    > how to find the other occurences.
    Might they be the result of that WebServicesConnector
    reference?
    > Checking on google, I see lots of people having
    > similar problems, but no solutions
    That's really odd, actually. I'm on these boards every day,
    and I've
    never heard of this issue. I don't *think* the Find/Replace
    dialog visits
    panel contents, such as the Component Inspector panel, but I
    wouldn't swear
    to that.
    > What do you guys do for code completion - is there
    > a tool that would bring Flash on par with an
    professional IDE?
    Well, Flash is a professional IDE, of course. By definition,
    if you pay
    for something, you have acquired a professional product or
    service. I know
    what you mean, though. Flash itself rocks, but the Actions
    panel can be
    glaringly weak. Personally, I use SE|PY to edit ActionScript.
    http://www.sephiroth.it/python/sepy.php
    Sorry I can't speak to your other issue. :-/
    David
    stiller (at) quip (dot) net
    Dev essays:
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Problem with xcompmgr and i3 window manager

    Hey guys,
    Had a hard time trying to search for this problem. and nothing came up for the exact problem I was having. Anyways this is my problem. with xcompmgr is that it doesn't seem to be refreshing or something. it leaves trails of previous windows for some reason. not sure why. Anyone have this problem or someone know how to fix it??!?
    Here is a link to show you what i mean.
    http://oi45.tinypic.com/2nlaghy.jpg
    Thanks in advance for your kind and prompt attention.
    Sincerely,
    Sicariuxs

    Wow psychadelic!
    I found xcompmgr to be rather buggy when I used to use it. Try xcompmgr-dana (dcompmgr I think)  or Compton. I used to use Compton and it worked pretty well.
    I stopped using real transparency in favor of pseudo-transparency because I sometimes use the tabbed mode on multiple terminals... tell me how awesome it is to read three terminals stacked on each other

  • Reports for Itemwise ageing and Stock with opening and closing

    Dear All,
    Is there any default reports in SAP for Item wise ageing and the stock status with
    opening stock,In and Out stock and closing stock
    for a given period.
    Regards,
    Shyam

    Hi,
             Thanks for the quick reply.....But is there any accurate query for that....Bcoz i found a query which shows the qty but nothing is coming in the value...
    Regards,
    shyam

  • Problem with open in new window for second level tab

    Hi Friends,
    I am using 2 level tabs in my application. In my second level tab when i right click and select *open in new
    window* it is giving Page not found error. But for the first level tabs it is working correctly. How can i fix this so
    that either i can show the page when right click the tab and select open in new window or disable the right clicking
    for the second level tabs. Please help,
    Thanks
    Jeev

    Hi,
    I don't think its exactly possible, as tabs use javascript:doSubmit('somevalue'); and you can not open javascript in a new window, as javascript usually references the current page you are on, and since you open the javascript in a new window, it doesn't know what to reference. The most helpful thread I found was : Re: Open other tab in a new window (ATD reply, third from the bottom).
    Ta,
    Trent
    Edited by: tr3nton on Dec 3, 2009 4:19 PM; Hari beat me to linking to the correct thread, my bad.

Maybe you are looking for

  • Org determination based on the Partner function

    Dear Experts, I have a scenario where i need to determine the org data of an activity based on BP assignment in Org model. this BP is caluclated based on partner determination procedure which has got access sequence "Preceding Document: Activity Part

  • Can't open PDF's in Illustrator CS5

    I have just recently upgraded from CS4 to CS5. Now I cant open PDF's with Illustrator CS5. Right clicking the pdf and selecting "open with" does not show Illustrator in list. Also, I have attempted to browse to the actual Illustrator .exe file and ch

  • Error in Configure JMSAdmin utililty

    Hi, I have installed IBM MQ Series 5.3 on windows XP. I am attempting to use JMSAdmin to configure my qcf and queues that my applications will talk to. When I run JMSAdmin and try to create my qcf I get unable to bind object. InitCtx> define QCF(samp

  • There is a discrepency between what my iPod actually has on it vs. what my iTunes says it has on it.

    When I look at what is on my iPod through my computer (iTunes) it says I have all the playlists I'm trying to add: However, when I look at my actual iPod, this is what I have: Some playlists are missing AND it keeps adding new (and empty) "genius pla

  • UWL in CE: APIs and... DC(s) ???

    Please see my post [here|UWL in CE: APIs and... DC(s) ???;. Cross post is justified (read). Thanks Alessandro