Transparent space on TitleWindow under clicked Button when TitleWindow is removed from PopUp.

Dear Forum,
I'm having an issue. I'm using a title window with 2 s:buttons on it.
Once I'm clicking on my left button that is closing this title window I'm getting this strange effect.
For a fracton of second button disappears and I can what is under the Title window (below the button) (Screenshot below)
Than Title Window disapears. This is quite annoying.
Does anyone know how to get rid of this behaviour? Thank you in advance for your reply.
I'm using latest Flex 4.5.1.21328

Hi Peter,
Let me try to put more light on the topic. I'm using a browser component (SWF file). This is not AIR application. Chrome / Firefox / IE - all have same strange effect.
swf file is hosted by external (non localhost) www page.
From the technical perspective and Source Code stand point:
Description:
1) I have main file "MainFile.mxml" (Application)
2) At some point in time of the application operations "someFunction" function is triggered and is opening up a "CustomAlertWindow.mxml" object called tempAlert.
3) I have another file with "CustomAlertWindow.mxml" (TitleWindow)
4) CustomAlertWindow has 2 buttons. Click action for both buttons is triggering an event and closes the window
MainFile.mxml:
<s:Application
xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
creationComplete="initApp()"
xmlns:local="*"
width="960" height="650">
<fx:Script><![CDATA[
public function someFunction()
var tempAlert:CustomAlertWindow;
tempAlert = CustomAlertWindow( PopUpManager.createPopUp(this, CustomAlertWindow, true));
tempAlert.initiateWithNumberOfButtons( 2 );
tempAlert.setButtonLabels( resourceManager.getString('IntervalsTest', 'YES') , "", resourceManager.getString('IntervalsTest', 'NO'));
  tempAlert.addEventListener('leftButtonClicked', closeCustomAlertWindow);
tempAlert.closeButton.visible = false;
// display and put in center
PopUpManager.centerPopUp(tempAlert);
private function closeCustomAlertWindow( evn:Event):void{
     // some code here
]]></fx:Script>
</s:Application>
CustomAlertWindow.mxml:
<s:TitleWindow xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:mx="library://ns.adobe.com/flex/mx"
width="330"
height="200">
<fx:Script>
        <![CDATA[
            // Handle the Left button.
            private function buttonLeftClicked():void {
dispatchEvent( new Event('leftButtonClicked'));
                PopUpManager.removePopUp(this);
// Handle the Right button.
            private function buttonRightClicked():void {
                dispatchEvent( new Event('rightButtonClicked'));
PopUpManager.removePopUp(this);
        ]]>
    </fx:Script>
<s:Button id="buttonLeft" label="{buttonLeftLabel}"
styleName="BlueButton"
skinClass="skins.ButtonBlueSkin"
width="120" height="44"
x="30" y="120"
click="buttonLeftClicked();" />
<s:Button id="buttonRight" label="{buttonRightLabel}"
styleName="BlueButton"
skinClass="skins.ButtonBlueSkin"
width="120" height="44"
x="180" y="120"
click="buttonRightClicked();" />
</s:TitleWindow>

Similar Messages

  • My ipad2 crashes when it is removed from the power supply. It  can't be reset?

    My ipad2 crashes when it is removed from the power supply. It can't be reset? Doesn't respond when plugged into my pc?

    Hrm... that may be true and this may be a function of the phone email client that Apple just doesn't do.
    No, I can easily MANUALLY delete the messages. I would prefer if I didn't have to do it twice, tho. Once on the mail server and once on the phone.
    What I think the phone needs to do is, when it checks the POP, anything NOT there should be removed locally. I think you are correct on POP; the phone will poll the mx (mail exchanger) and the mx will pass off the messages to the phone. The phone then keeps ALL of that unitl you manually delete it.
    If, say, I remove a message from the mx, I would like the phone, when next polls, to see that that particular message isn't on the server anymore and remove it locally.
    Perhaps it's just me but if I delete the message on the mx itself, via my ISP's webmail interface, I really don't want to have to remove it again from my phone.
    thxs!
    cheers
    rOot

  • Error can't Click button when add value to ComboBox

    How can I do ? who know programming C#  ? help me !
    ComboBox displayed value but I can't Click " Exit Button " (btnExit) and Click "Cal button"(btnCal)
    IF I Remove   this  code
    if ((pVal.ItemUID == "CbIncen") && (pVal.Before_Action == true))// && (pVal.EventType == SAPbouiCOM.BoEventTypes.et_GOT_FOCUS))
    or
    remove  * oComBox.ValidValues.Add(value2, value1);  *
    " then OK no error and I can  Click Exit Button and Click Cal button
    private void SBO_Application_ItemEvent(string FormUID, ref SAPbouiCOM.ItemEvent pVal, out bool BubbleEvent)
                BubbleEvent = true;
                 if((pVal.FormUID=="CalculateForm"))
                  if ((pVal.ItemUID == "btnCal") && (pVal.Before_Action == false) && (pVal.EventType == SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED))
                       // return  value when click  "btnCal" button
                      SBO_Application.MessageBox("You click button", 1, "OK", "", "");
                   if ((pVal.ItemUID == "btnExit") && (pVal.Before_Action == false) && (pVal.EventType == SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED))
                       // return  value when click  "btnCal" button
                      SBO_Application.MessageBox("You click Exit", 1, "OK", "", "");
                      oForm = SBO_Application.Forms.Item(pVal.FormUID);
                      oForm.Close();          
                    if ((pVal.ItemUID == "CbIncen") && (pVal.Before_Action == true))// && (pVal.EventType == SAPbouiCOM.BoEventTypes.et_GOT_FOCUS))
                        SBO_Application.MessageBox("click" + Convert.ToString(pVal.Before_Action), 1, "OK", "", "");
                       // BubbleEvent = true;
                        SAPbouiCOM.Form oForm1;
                        SAPbouiCOM.Item oItem1;
                        SAPbouiCOM.ComboBox oComBox;
                        SAPbobsCOM.Recordset oRecordSet;
                        oForm1 = SBO_Application.Forms.Item(pVal.FormUID);
                        ////tra lai gia tri tu combo va dua vao textbox
                        oItem1 = oForm1.Items.Item("CbIncen");
                        oComBox = ((SAPbouiCOM.ComboBox)(oItem1.Specific));
                        //cai nay co nhuoc diem la ban ko the update lien tuc
                        oRecordSet = ((SAPbobsCOM.Recordset)(oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)));
                        string sSQL = "select IncentiveID,IncentiveName from dbo.[T_Incentive]";
                        while (oComBox.ValidValues.Count > 0)
                            oComBox.ValidValues.Remove(0, SAPbouiCOM.BoSearchKey.psk_Index);
                        oForm1.Items.Item("CbIncen").Refresh();
                        //truong khi add vao comboBox ban phai remove combox
                        oRecordSet.DoQuery(sSQL);
                        string value1 ="";
                        string value2 ="";
                        if (oRecordSet.RecordCount > 0)
                            while (!(oRecordSet.EoF == true))
                                value1 = Convert.ToString(oRecordSet.Fields.Item("IncentiveID").Value);
                                value2 = Convert.ToString(oRecordSet.Fields.Item("IncentiveName").Value);
                                oComBox.ValidValues.Add(value2, value1);  // *ComboBox displayed value but I can't Click " Exit Button " (btnExit) and Click "Cal button"(btnCal)*
                                oRecordSet.MoveNext();
                        //BubbleEvent = true;
    thanks you !

    Hi fithou,
    Please post half of your text on a reply under the same post. And put your code between  tags.
    Regards,
    Vítor Vieira

  • Caan't click continue when re-installing MacOSX from OSX utilities?

    Hi
    My mac is very sick and I need to reinstall the OS.
    I am on mountain lion early 2013 MacBook Pro.
    When I boot - the computer behaves badly but I can use the keyboard and mouse.
    I have used time-machine to back everything and plan to use the data migration wizard to get my data back after the re-install.
    However, when I click command R and try and reinstall from the OS X utilities tool I can use the arrow keys to select the reinstall OSX menu but can't click continue?!
    The mouse moves but I can not seem to click...or select the continue button to use the enter key.
    Not sure what to do!
    thanks

    You may not be able to click Continue if the startup disk needs repairing before you can reinstall OS X.
    Boot while holding down the Command + R keys so you can access the Disk Utility app to repair  the startup disk.
    Read here > OS X Recovery

  • Clicking sound when making a call from mac

    When I try to answer a call or make a call I have a horrible clicking sound. Don't think a speaker is blown because I tried to play music and it sounds fine. Assuming I just have a setting that is wrong some where. Any suggestions would be helpful! Thank you!

    I had this happen as well. Restarting my MacBook Pro (8,2) made it go away. At other times it seemed to appear when calling some phones (my wife's iPhone 4 and my son's Samsung phone) but not others (my land line), but this was not consistent. My phone is an iPhone 5. I'm hoping the iOS update due tomorrow will fix this.

  • Has the options for custom command buttons and scripts been removed from speedgrade?

    I run alot of framecyclerDI machines and am looking to upgrade them but i cant seem to find any method of adding command bars and buttons like you could in the iridas versions of speedgrade i also cant see a way of executing any external scripts which for me is a big issue as i have a hell of alot of pipeline scripts that the artist could execute.... any ideas or have i just missed somthing ?.......(would love it if they added a python sdk)

    Hi Dennis,
    Thanks for replying,
    Its actually more the other way getting speed grade to control outher things.
    i.e
    take the in and out points and send the track to a dcp creator
    rendering and sending anotated frames directly into my databases notes system
    taking the shotname and seeing if theres is a new version avaliable and pull it from the server to the local machine drive/cache
    Theres a load more..but you get the idea .. using the buttons to execute these commands in the interface made these functions editor friendly...
    I can get round some of the issues by reading from the autosave.ircp and setting up a PYQT GUI but that seems like a bit of a hack.
    I understand the reasons to keep the UI uniform (editors dont like it when you move buttons) but Im suprised these options got removed as intergrating software into pre-existing pipelines would seem to be a selling point for any software..
    Are there any plans in the roadmap for speedgrade that would help me in the future?
    S.P.F

  • Calendar not updating on Iphone when items are removed from Outlook calendar.

    Recently a couple of my board members purchased IPhones and IPads. And I have set them up the best I can. If they create a calendar entry on the IPhone or IPad it will show up in Outlook right away. However if they or one of their admins log onto their Outlook calendars and remove a schedule meeting the entry will not delete off the IPhone or IPads. I know there is a 15 minute sync on the devices but I have tested them after hours and days and the entries are still on the calendars on the mobile devices. This creates serious issues when people show up to meetings and destinations that have been cancled days in advanced. If anyone knows anything about how to fix this please let me know.

    Do they log directly into the account or come in with proxy/delegate access? 

  • HT201365 So where is Find My Iphone on my device?  Or is it like the Podcast app that I had to download when podcasts got removed from the music app?  Why aren't these necessary (and free) apps included with the upgrade?

    Ok

    Hi Jim1234567,
    Find My iPhone is available from the App Store here:
    Find My iPhone
    https://itunes.apple.com/us/app/find-my-iphone/id376101648?mt=8
    Take care,
    - Ari

  • What will happen when Zen7 is removed from eDir?

    We are migrating to ZENworks 10. We are almost finished, but there are a handful of workstations that have not got the update, due to individual computer issues or laptops that aren't plugged in frequently.
    The E directory administrators would like to uninstall/remove ZENworks 7 from the directory.
    We are using Group policies, DLU, and some NAL objects.
    NAL is no big deal since the user has to run those.
    The absence of DLU should be fine I think since the users already have accounts on the local computer. But once they update their edir password it won't sync. Which is OK, because they'll call the helpdesk and we'll update them to zen10.
    Big question, what will happen to the group policies? Will they continue to work locally off a cache or will they cease to work all together?
    Are there any other problems to forsee?

    On 7/29/2010 10:26 AM, brestt wrote:
    >
    > We are migrating to ZENworks 10. We are almost finished, but there are
    > a handful of workstations that have not got the update, due to
    > individual computer issues or laptops that aren't plugged in
    > frequently.
    >
    > The E directory administrators would like to uninstall/remove ZENworks
    > 7 from the directory.
    >
    > We are using Group policies, DLU, and some NAL objects.
    >
    > NAL is no big deal since the user has to run those.
    > The absence of DLU should be fine I think since the users already have
    > accounts on the local computer. But once they update their edir
    > password it won't sync. Which is OK, because they'll call the helpdesk
    > and we'll update them to zen10.
    >
    > Big question, what will happen to the group policies? Will they
    > continue to work locally off a cache or will they cease to work all
    > together?
    >
    > Are there any other problems to forsee?
    >
    >
    There is no supported way to "contract" the eDirectory schema from it
    being extended to support ZENWorks.
    You can delete all of the ZENWorks related objects though: NAL Apps,
    Policy packages, workstations, inventory, etc. Then, disable the
    startup of the ZENWorks services. Finally, remove the ZENWorks plug-ins
    from ConsoleOne (or drop C1 altogether if you don't use GW).
    Jason Doering
    Address is munged; I already get enough spam.
    Remove three nospams to reply.

  • When was iDVD removed from iLife?

    I acquired a late 2011 17 inch Macbook Pro (Lion 10.7.3) in April of 2012. I am not sure whether iLife in that version came with iDVD or not. Can any one tell me if it did? Unfortunately I didn't try to burn a DVD until after upgrading to 10.7.5 and I'm wondering if iDVD was removed in that upgrade.

    They didn't kill iDVD to force people to buy iCloud. The two are completely unrelated. iDVD was dropped most likely because there were free or low cost alternatives on the market and it would cost too much to rewrite iDVD to compete.
    You were ripped off because you bought iLife on Amazon.com without properly researching. The issue of iDVD being omitted from future iLife updates had been widely discussed long before you bought your Mac. Had you asked here first we would probably have suggested buying iLife '09 Boxed Set. Unfortunately, much of it would not be updatable after Lion's 10.7.4 release.
    I would hardly call one piece of software a demanding reason to return to Windows. You are now on a new platform with different software. Much about it you don't know. It's all a learning experience, just as it was for Windows.

  • Clicking noise when using the 'mouse' button

    I'm not sure what the button is called, but I'm sure ya know what I mean. I've had my macbook since August and this had just started happening. When I used the clicking button, it's harder to press, almost like there's something under it, and it makes a noise like it's getting stuck but then going down all the way. Anyone else have this issue or know what's causing it? Should I just get a mighty mouse?

    Follow the instructions in this article released by Apple.
    http://support.apple.com/kb/HT6545?viewlocale=en_US
    Best.

  • 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.

  • How can I get back the space to type in web addresses when I click on safari.  it seems to have gone away??

    I am trying to find out how to get back the space  up top of window that appears when I click on safari.  I used to be able to type in web addresses and go to places but somehow I lost the space which was just above or just below gray space that show apple,  store,  mac,  ipod etc.  I am  78 & sometimes get confused.  any hep would be greatly appreciated.  I know I had my arrow on somewhere near that space and heard a sound and when I looked back at my puter that space was gone.  ???    any ideas,, Annette l

    When Safari is active, in the menu bar at the top of the screen, there's a menu labeled View. From that menu, select Show Toolbar. It's right at the top.

  • How can I go to other page when click button??

    When I click button, the process of this button is be executed, then current page will go to other page.
    1.I setup this button's Optional URL Redirect to other page, but process is not be executed.
    2.I create a process and a branch(point: on-summit:after process...), not setup button's Optional URL. at this time, the process is be run, but not go to other page.
    please help me if you know it! Thanks a lot!

    Do you need the process to do something or do you just want to forward to the next page. In this case you just need the branch. In the configuration you can choose the button that forwards to the next page.
    Configuration in the branche:
    Target type: Page in Application
    Page: The Page you want to redirect to.
    On clicked Button: The Button you created on the page which redirects to the next page
    Hope i could help.
    Philipp

  • I pressed the wrong button when setting up my new iphone - i clicked set it up as a new iphone not restore from my old one - now i have lost my texts and my notes! help?from my

    When i synced my new iphone to my pc i clicked the wrong button - instead of restoring it from my old phone's last backup i clicked set up as new iphne - now it appears all my old texts and my notes have gone. Any ideas how I can get them back?

    When you plug it into iTunes - it will show on the left side of the screen.  Right click on it, and you will have a list of restores to use.  Pick the one you want, and it will pull all of that data.  It worked on mine...

Maybe you are looking for