Mouse clicks blocked improperly when stage resizes

Hi everyone,
Been working on this for a while with no success. would really appreciate your help.
We have the following issue: 1 main flex application is loading another flex application swf using a swfloader placing the child app in the same security domain, but in separate application domains from the parent. There is an '...allowDomain(*)' between the apps and the stage scaling is set to no scaling.
The problem is that when the stage is resized (window size increases or it goes to fullscreen) the child app 'grows' a large invisible area that blocks mouse clicks from reaching the parent app. This area far exceeds the child app's width & height and can be seen only when doing 'right-click' --> 'show redraw regions'. When scaling the window slowly back to the original stage size that the flash player started out with, those areas grow smaller and eventually disappear. If i load the child app when the main app stage size (window size) is already very big (or in fullscreen), this issue does NOT appear.
Thanks in advance,
Uri

Sounds like a bug.  If you have a simple test case, please file a bug.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui

Similar Messages

  • Ignoring mouse clicks

    Is there a way in Java to ignore a mouse click? Because when you turn the mouse pointer into a hourglass, you are still able to click where ever you want. How can I disable the mouse clicking?
    Thx

    Apologies - my explanation was a bit terse.
    You need to communicate with the EventProcessor so that it knows what state your application is in. You will only have one EventProcessor in your application so you can so this via a static context, so it might look something like:
    public class EventProcessor extends EventQueue
      static boolean wait_;
      public EventProcessor()
        Toolkit.getDefaultToolkit().getSystemEventQueue().push(this);
      static void setWait(boolean w)
        wait_ = w;
      protected void dispatchEvent(AWTEvent e)
          int id = e.getID();
          if(wait_ && (id == MouseEvent.MOUSE_PRESSED) ||
                      (id == MouseEvent.MOUSE_RELEASED) ||
                      (id == KeyEvent.KEY_PRESSED) ||
                      (id == KeyEvent.KEY_RELEASED)) // or check if its an InputEvent class
            // do nothing
          else
            super.dispatchEvent(e);
    }and in your code somewhere you would have
      setHourGlass(true);
      EventProcessor.setWait(true);I use this technique for doing my own dialog modality - I got fed up with not being able to move the parent window in Windoze systems when a modal dialog is showing...

  • COMMIT_FOARM IS NOT WORKING INSIDE THE  WHEN-MOUSE-CLICK

    Dear friends
    I have following script in when-mouse-click trigger
    BEGIN
    IF NOT Form_Success THEN
    Bell;
    RAISE Form_Trigger_Failure;
    END IF;
    IF :System.Form_Status = 'CHANGED' THEN
    IF :LOCK_FLAG = 1 THEN
    UPDATE PROJ.IM_REQUEST_HEADER
         SET LOCK_FLAG = 1
         WHERE DOC_CODE = :DOC_CODE ;
         SHOW_MESSAGE('DOCUMENT CODE -1'|| ' '||:DOC_CODE);
         SHOW_MESSAGE('LOCK FLAG -1'|| ' '||:LOCK_FLAG);
         Commit_Form;
         MESSAGE('The Record have been changed -1 ');
    ELSE
         UPDATE PROJ.IM_REQUEST_HEADER
         SET LOCK_FLAG = 0
         WHERE DOC_CODE = :DOC_CODE ;
         Commit_Form;
         MESSAGE('The Record have been changed - 2');
    END IF;
    ELSIF :System.Form_Status <> 'QUERY' THEN
    Message('An error prevented your changes from being
    committed.');
    Bell;
    RAISE Form_Trigger_Failure;
    END IF;
    END;
    Note :
    The above trigger is attached to this field LOCK_FLAG and the item type of LOCK_FLAG is check box in the form and the property of the LOCK_FLAG
    is site as the following :
    database item = NO , and the property of the blcok IM_REQUEST_HEADER is site as the following :
    database data block = NO
    and my problem is when i change the value of LOCK_FLAG is not executting the update statement .
    waiting for your valuable answer in details thank in advance for your cooperation.
    best regards
    jamil alshaibani

    Dear Wilfred
    Thank you very much for your cooperation, yes when I change the “Database data block “ property to no, it works, as I wanted to be.
    Notes about my application:
    In my program I provide the store keeper query screen, he can check the orders and lock the specific order by clicking on the LOCK_FLAG field, so after he locked the field the requester user can not change his order content if it is locked by the store keeper
    And the way I was trying to do it ,by query the data from      IM_REQUEST_HEADER Table which is the Order table which is the header table ,the form is displaying doc_code ,doc_date ,lock_flag,and the order store name ,and I provide him a report on the same form that he can see the details of the order items ,and all the field properties set to no, that is update allowed to no ,insert allowed set to no, but the field lock_flag property set as update allowed to yes and insert allowed set to yes
    and I would like to now how it was displaying this message
    ORA-01400 cannot insert NULL INTO “PROJ”.IM_REQUEST_HEADER”.DOC_CODE
    And I was not inserting, I was just updating the lock_flag by the above update statement.
    Best regards
    Jamil Alshaibani

  • Stage Resizing on "Clicked" External SWFs

    Hello everyone!
    Thanks for checking this out.
    This has been bugging me for almost a week now. I hope I may find some assistance here. I've Googled for this and everytime I encounter an article with the solution and people saying it worked great for them, I thought it's going to help me too, but didn't. I'm pretty sure I did exactly what was instructed but mine is just weird.
    I hope you can try to look at my files and see what's wrong, anyway this is just a simulation of my real project (which has the same problem) at a very small scale so it should be very easy to look at. I believe it's so easy to solve but I just couldn't nail it. Here's a brief description:
    There's this main.swf that loads two external swfs in a UILoader upon click of the corresponding button. By the way, the code inside the external swfs listens for a stage resize... So, when user clicks on button 1 (named "LOAD 1"), it loads "content1.swf". User decides to resize the window, and layout resizes accordingly (in this case, they all center horizontally). User clicks on button 2 (named "LOAD 2"), it loads "content2.swf". Everything looks fine, apparently. But when user tries to resize the window again, an error pops up in the Output panel...
    Honestly, I've built a new one here at my desktop using var loader:Loader = new Loader(); concept instead of the UILoader Flash component but still no luck. Please, hear me out. I don't think I want to give up.
    Thanks!

    Try this:
    Rename setComp() and resizeComp() in content1 to setComp1() and resizeComp1()
    Rename setComp() and resizeComp() in content2 to setComp2() and resizeComp2()
    Now try resizing and you'll see the error being thrown with the new function names.
    I think your problem deals with unloading your content. You should maybe try to properly unload content1 before loading content2 and vs. versa and see if that fixes your problem. I suspect that the resizeComp2 is still trying to resize an object that doesn't exist on the stage anymore, but the function is still loaded into memory and running. Unloading your swfs might clear this up.

  • :system.cursor_block value does not change when mouse click

    Form created with Forms version 6.0.8.8.0. Consists of a control block that has the toolbar buttons, a filter control block that contains item, and a data block. The filter control block and data block are on a tabbed canvas. There are 3 tabs with corresponding filter control block and data block on each.After the data block is queried, code sets the navigation to the control block with the go_item built-in. The user would use a mouse click on the filter control block on one of the tabs to activate an LOV, code is in a generic when-mouse-click trigger that will determine the item focus with the value in the system variable :system.cursor_block. Works for the first tab. Does not work for 2nd or 3rd tab. On-error trigger does not capture any error. Values for :system.cursor_block for tab 1 show that value before mouse click is 'control.detail' and after mouse click is 'filter.a'. For tabs 2 and 3 the value before mouse lick is 'control.detail' and after mouse click is 'control.detail' instead of 'fiter.b' or 'filter.c'. Verified that the 3 filter blocks are identical. Can anyone shed some light on this anomoly? I have been looking for this solution (many different iterations and changes to trap it) for too long.

    :System.Cursor_Block reports the name of a block, NOT a BlockName.ItemName.
    Use :System.Trigger_Item with your mouse click, or :System.Cursor_Item.

  • How to stop new record creation when mouse click

    Hi,
    I am working with Oracle Forms 6i.
    I have a multi record block. I have provided a 'New' button that the user should click when a new record creation is required. This is because there is some other function that needs to be performed when the new record is created. Specifically, on clicking the new button, the program populates the field with values read from another table. This works fine.
    However, I realized, that if the user clicks on the mutli-record block just below the last record, a new record gets created. This action does not cause the logic behind the 'New' button to execute and the record is created in a manner that is not acceptable.
    First question is why does the new record get created only by clicking with the mouse with the pointer below the last record? Is there a way to stop this from happening?
    Thanks in advance for your help.
    Shailesh

    Hi Andreas,
    Probably I was not able to explaing my problem.
    I have a button that creates a new record when clicked. The button's trigger has the CREATE_RECORD statement.
    When a new record is created, I need to copy values from the record above it. I have therefore used DUPLICATE_RECORD in my block's WHEN-NEW-RECORD-INSTANCE trigger.
    I cannot use DUPLICATE-RECORD in WHEN-CREATE-RECORD trigger.
    So, I am not clear about what you are suggesting.
    My problem is that a new record gets created when click with my mouse pointer below the last record in the multi-record block. Why does that happen and how to prevent it?
    Thanks
    Shailesh

  • When-Mouse-Click does not fire if When-new-item-instance exists

    We are using Forms 6i Patch 12.
    The When-Mouse-Click trigger (at block level) is not getting fired when a When-new-item-instance trigger exists on a given item on which mouse is clicked.
    We need to synchronize keyboard and mouse events such that if the validation on certain key items fails, the cursor should go to one of the specified items as per the validation rules.
    The validation rules are different on leaving from different items. Complex validation rules require cursor to go to a different item than the current item on which the validation fires.
    Since go_item cannot be used in when-validate-item, we are using a combination of key-next-item and when-mouse-click.
    But, this strategy seems to fail if mouse is clicked over an item having a when-new-item-instance trigger.
    Also, we need the When-mouse-click trigger to fire before When-new-item-instance.
    Any pointers to solving the firing of trigger or strategy will be appreciated!
    Regards,
    Sanjiv

    This solution we have tried and it works also.
    However, we end up in another problem in the form. For overall picture, please see my latest post for "Forms Valid status" at Forms Valid status
    Regards,
    Sanjiv

  • Group Chat hidden window blocks mouse clicks in top-left corner of screen

    Hey guys, I'm not sure if this is the right place to report Group Chat bugs or not, but we're using Office Communicator Server 2007 R2 Group Chat, Version 3.5.6907.0. 
    The problem is that Group Chat places a hidden window in the top-left corner of the screen, and intermittently it blocks mouse mouse hovers and clicks.  Many people in our office experience this, so it's not just myself.  Closing Group Chat fixes
    the problem, and when you click Exit on the Group Chat tray icon, you can actually see the "Logging out" window appear where the mouse clicks are being blocked.
    Here's a pic showing where the transparent Group Chat box is lying over my Visual Studio app, so I'm unable to click File, Edit, View, or Git.  I used UISpy to find and identify
    the transparent window.
    - Dan - "Can't never could do anything"

    Another user with the exact issue as described above.  After spending a lot of time troubleshooting the problem I have narrowed down the events that produces the 'hidden window'.  If GroupChatConsole.exe is running and the user locks and then unlocks
    their computer, this problem occurs.  This would explain why closing and re-opening Group Chat appears to 'fix' the problem.  If the computer is locked and unlocked again though (with Group Chat running), the problem returns. It doesn't matter if
    the main Group Chat window is open or minimized to the task bar or notification area.
    We have tried all the basic troubleshooting such as uninstall/reinstall, reboot, etc.  We even imaged a brand new laptop and migrated the user to the newer model, but problem starting occurring again after a few days.
    I love troubleshooting challenging problems, but this is something I have never encountered before... and after tirelessly searching the internet, doesn't seem like many others have, either.  I hope someone else can provide some more insight or
    clues to permanently fix this problem!
    Best Regards,
    -J

  • Passing parameter through when mouse click trigger

    I have a detail block.This block fetching multiple records.My query is how can i pass parameter though WMC trigger.
    My details block displaying data from 4 tables.
    When i click on any field all the data on that row must be my parameters.

    In first form in when mouse click trigger:
    SELECT xyz
    INTO :GLOBAL.xyz,
    FROM abc
    WHERE v.po_no = :SYSTEM.MOUSE_ITEM
    AND IMT21_SIT.C_SIT_NO = IMT22_RECT_HD.C_SIT_NO;
    EXCEPTION WHEN NO_DATA_FOUND THEN
         MESSAGE('PLEASE CLICK ON PO NO');
    logout;
    logon('abc','[email protected]');
    open_form ('C:\CUSTOMER_SERVICES\SUPL_FAS');
    in second form in when new form instance trigger:
    block_name.field_name := :GLOBAL.xyz;
    it show error..........

  • Mouse Clicks' Queue when Button is Disabled

    Hi, I was wondering about the Disable property for UI
    Components.
    In the docs it says that when the component is disabled it
    ignores all
    interaction whatsoever - in particular - user interaction.
    In my case, the button is disabled for a few seconds right
    after it
    was clicked by the user (I disable it till the httprequest is
    returned
    and then enable it).
    What happens is that if the user clicks the button while it's
    disabled
    - nothing happens. But when the button turns enabled - it
    acts as if
    it just got the click event.
    It seems like the mouse click event went into this queue and
    the
    button listened to it right after to turned enable?
    Am I correct? If so - how can I prevent this problem?
    If I'm wrong, what's the reason for this? And again, how can
    I sort
    this so the user can't send mouse clicks to the button when
    it's
    disabled??
    Many thanks :)
    Gilad

    "giladozer" <[email protected]> wrote in
    message
    news:gnbng6$o6m$[email protected]..
    > Hi, I was wondering about the Disable property for UI
    Components.
    > In the docs it says that when the component is disabled
    it ignores all
    > interaction whatsoever - in particular - user
    interaction.
    > In my case, the button is disabled for a few seconds
    right after it
    > was clicked by the user (I disable it till the
    httprequest is returned
    > and then enable it).
    > What happens is that if the user clicks the button while
    it's disabled
    > - nothing happens. But when the button turns enabled -
    it acts as if
    > it just got the click event.
    > It seems like the mouse click event went into this queue
    and the
    > button listened to it right after to turned enable?
    > Am I correct? If so - how can I prevent this problem?
    > If I'm wrong, what's the reason for this? And again, how
    can I sort
    > this so the user can't send mouse clicks to the button
    when it's
    > disabled??
    No idea about whether you're correct or wrong, but you might
    want to try
    setting mouseEvents = false on the button and see if that
    helps.

  • Mouse clicks when hands on handrests

    so i dont know if this is normal or what, but if my hands are on the handrests (not touching the trackpad) then the mouse gets clicked.... its fine if my hands are barely touching it but any pressure at all and the mouse clicks... very annoying when trying to type and suddenly you are back a page or in a different window
    is this normal?

    Nope, that is not normal. I would kinda look at your hands though and make sure that say your palm, or your thumb is not unnoticably taping the trackpad. I notice that when I type that my right hand especially that of my right hand the outside of my thumb hangs over the trackpad quite a bit and has caused some problems for me when im not paying attention and have rested it on the trackpad accidently then tried to move the mouse and nothing happens. You may actually be taping it JUST enough and not noticing it. Other wise I would take it in and have it checked out.
    E

  • Mouse clicks not working on published air app, works fine when debugging/testing

    So I have an issue where when debugging my Air application, it runs fine and mouse clicks work and everything.  When I publish the application and install it, it plays fine but clicking does nothing.
    We have an older version which is working when we publish it and we're trying to add things in one step at a time, but I figured I'd see if anyone else has had this issue.  A bit frustrating.
    Thanks!

    FIXED!!!!
    We're using Dropbox to share files and it turns out that two people having project open at same time is a bad idea when doing final publish!  It creates conflict files and effects the final package or something of that nature.
    Glad we got that one figured out!

  • Hello  Simple problem - don,t know how to solve it.  With Premiere CC when I try to do a selection (click... drag... release the click) very often it stop way before the end of the move I'm swinging the Magic Mouse. I taught that the mouse clicking was de

    Hello
    Simple problem - don,t know how to solve it.
    With Premiere CC when I try to do a selection (click... drag... release the click) very often it stop way before the end of the move I'm swinging the Magic Mouse. I taught that the mouse clicking was defective and went to get a new Magic Mouse after lots of frustration. Today, I have an edit to do it it does the SAME thing !!
    I was like ????#$%?&*(???
    Opened all the lights and taught I've trow the new mouse to the garbage and was using the defective mouse again... no !! - ??
    Actually, the bran new mouse is doing the same thing. What I understand after investigating on the motion and watching carefully my fingers !! -  is that when I click I have to keep my finger at the EXACT same place on the mouse... drag and release and it's fine. If I click by pushing on the mouse and my finder is moving of a 1/32th of a millimeter, it will release and my selection will be to redo. You can understand my frustration ! - 75$ later... same problem, but I know that if I click with about 5 pounds of pressure and trying to pass my finger through the plastic of the mouse, it you stay steady and make it !
    The problem is that scrolling is enable while clicking and it bugs.
    How to disable it ??
    Simple question - can't find the answer !

    Helllooo !?
    sorry but the Magic Mouse is just useless with the new Adobe Premiere CC and since I'm not the only one but can't find answer this is really disappointing. This mouse is just fantastic and now I have to swap from a USB mouse to the Magic Mouse every times I do some editing. My USB mouse if hurting my hand somehow and I want to got back to the Magic Mouse asap. Please - for sure there is a simple solution !
    Thanks !!

  • Pictures I have taken in the past with my iPhone 5 are now a block and when I click the photo it says loading but never loads. It's like I never took the photos. There's only the blocks with no pictures. I can't click edit or anything

    I'm trying to look at my past photos in my camera roll but all that's there is a block and when I try to click on it the photo says "Loading" but nothing ever shows up. I can't click edit or anything. When I plug my phone in to my computer and open the photo folder they're not even there. It's like I never took these photos

    I notice that the home page redirects to a secure (HTTPS) address. I wonder whether there is a setting blocking this? What if you go directly to a secure page -- will it load?
    https://www.itvsn.com.au/include/sweb.dll/product?product=155602&category=92010&site_id=ITVSN
    Your add-ons list shows AVG, ZoneAlarm, and McAfee products. Could one of them be blocking this site? See whether you can add exceptions or just disable them temporarily and test whether that helps.

  • How do I fix error message "This document contains a link to an asset being upsampled. You should resize it smaller or right-mouse click on the asset in the Assets panel to see additional options." Which asset is it?

    I ab in Muse. How do I fix error message, This document contains a link to an asset being upsampled. You should resize it smaller or right-mouse click on the asset in the Assets panel to see additional options.

    You should ask in Help with using Adobe Muse CC
    This Cloud forum is not about using individual programs
    This Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

Maybe you are looking for

  • Installing Windows 7 Professional via Boot Camp Assistant on late 2013 iMac 27"

    So here I am with a brand new 27" iMac bought on Nov 3.  Machine is top of the line w/ 3.5GHz quad-core intel i7Core, 4GB Video Card, 3TB Fusion Drive and right out the box on first start up and first update, I install Windows 7 via Boot Camp.  Best

  • How do i create an image solid with #000000?

    I need to do this for a website with 5,000 products which will show images solid #000000 until I develop the products with no image until I get around to slowly adding images against a #000000 background.

  • CRIO loss of cummunication

    This is an inquiry regarding Communication fault issue between cRIO and PC 1. We have used cRIO 9047 version with TCP/IP communication and have used LabVIEW 8.6 2. Recently we did PC replacement and upgraded LabVIEW as 2012 version. But still using c

  • Do I need to remove Bootcamp before Time Machine Restore?

    Hello - anyone familiar with this scenario. I have used TIME MACHINE from the very first day I had my iMac.  So it was started almost immediately after the initial boot of a brand new iMac case I ever needed to restore my Mac to that initial Day 1 st

  • Adding Flash ticker tape display of still photos

    This questions is really directed to "Old Toad" - I find your sample iWeb site extremely useful however I have a question. On your example of a flash ticker tape display you mention that the HTML was obtained from OVI.COM - I cannot find anything eve