PopUpManager.remove() doesn't work

Hi,
I'm developing an app that uses TitleWindow instances to
display information. I've been having trouble with the popups in
that clicking on the "closeButton" has only one discernible effect,
it no longer responds to drag events. This wouldn't be so bad if
the instance weren't also visible. The popup gets placed on a
Canvas container, not sure if this is signficant or not. I did
finally manage to make this work, interestingly enough by removing
the <mx:Style> element from the main application mxml file.
The complete code, using a smaller example, is attached. Any
explanations would be greatly appreciated. Even more appreciated is
advice on actually getting this to work as I'd like it to (i.e.,
with the styling).
Cheers,
Rich

Thanks all for the replies. My problem turned out having to
do with incorrectly setting the parent of the popup window.
In BrokenPopup.as, dragDropHandler(), instead of using the
PopUpManager I ended up adding the new BrokenPopupComponent object
as a child of the containing Canvas object identified as
"popupCanvas" in BrokenPopup.mxml. Not sure why the original
implementation didn't work correctly, but I did want the popup to
be a child of the Canvas and PopUpManager doesn't appear to support
this.
Again,thanks for the replies.
Cheers,
Rich

Similar Messages

  • Using Mt Lion, I find that my trash removal doesn't work on any of my iMacs. (two iMac and one Mac Air)

    Using Mt Lion, 10.8.3, I find that my trash removal doesn't work on eithe unlocked or locked files. I have tries manuelly unlocking files and even that doesn't work. The trash disposal goes through the motions of counting the files and, then, doing the file subtaction from the count and at the end, it starts to go into negative numbers and never stops. However, nothing has happened to the trash.  What's going on and how do I correct it. I have tries clean installs of the operating system and still nothing changes.

    Relaunch the Finder, then from the Finder menu bar, select
    Finder ▹ Preferences ▹ Advanced
    and uncheck the box marked Empty Trash securely. Try again to empty the Trash.

  • Preview App Saved State Removal Doesn't Work

    I'm having trouble with my Preview App in Mavericks.  I evidently had too many windows opewn and it became unresponsive, so I had to use Force Quit.  Relaunching opened all the previous windows and the problem was repeated.  After searching the Communities, I learned that the Saved State folder for Preview should be deleted.  Then, I couldn't find the Saved State folder, and, after more time searching, I learned it's hidden in Library of the Go menu (Thanks a lot, Apple).  I trashed the Saved State folder for Preview, but nothing changed: It STILL opens up all the previous windows.  I can't even wrap my brain around how this is possible!
    The machine is a 2010 Mac Pro running Mavericks 10.9.1
    Any help would be appreciated.

    Richard Benson2 wrote:
    Edit: I should have said "Zoom to Fit doesn't work as expected"
    I was hoping to use Preview as a proper replacement for Acrobat but this is really aggravating. The zoom to fit only seems to use the horizontal Preview document space to determine the viewed file's fitment. Which of course is useless if you want to view the whole file in totality at the maximum space available. I simply want 100% of the viewable document area to maximize to the given space, not just 100% horizontal. As it stands there doesn't seem to be a way to do that other than using the scale field and just trial and error the percentage until you get the result...
    Any tips, tricks, workarounds?
    Message was edited by: Richard Benson2 for clarity
    I have had the same issue for over a year, and it's very aggravating, as I used to use it all the time, and still need to, but it just won't work. It will work if an image is too large, but not when it's too small, and it take multiple "zoom ins", and then you can't get it to fit right! I don't know Apple hasn't fixed this key flaw.... No OS update yet, has fixed it.

  • Function @REMOVE doesn't work

    Hello,
    I'm trying to clear a block of data, but I'd like to remove just one member from the list before clearing.
    I'm executing the script below, and the member E10.1095 is not excluded.
    FIX(@DESCENDANTS("C6590000"))
    FIX(@REMOVE(@RELATIVE("ELQCO",0),"E10.1095";))
    CLEARDATA "Reel";
    ENDFIX
    DATACOPY "ELQCO" TO "E10.1095";;
    ENDFIX
    Does anyone knows if I'm doing anything wrong?
    Thanks in advance,
    Marilia Araujo

    Hi,
    I believe the function takes two lists as the parameters so give this a try
    FIX(@DESCENDANTS("C6590000"))
    FIX(@REMOVE(@RELATIVE("ELQCO",0),@LIST("E10.1095")))
    CLEARDATA "Reel";
    ENDFIX
    DATACOPY "ELQCO" TO "E10.1095";;
    ENDFIX
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • WEB DYNPRO AND WEB SERVICE MODEL: ejb remove doesn't work

    Hi guru,
    this is my scenario:
    J2EE-7.00 SP14-> PORTAL ->7 sp14  ->WEB DYNPRO FOR JAVA ->Web Service Model ->  WS Custom with MDM API JAVA
    The my WS is a Stateless Session Bean and i have this code:
         public void ejbCreate() throws CreateException {
              loc.setMinimumSeverity(Severity.INFO);
              loc.addLog(new ConsoleLog());
              this.plug = (MdmPlug) new MdmPlug(true);
              try {
                   this.loadProperties();
                   this.plug.connect(
                        hostname,
                        repository,
                        language,
                        username,
                        password);
                   loc.fatalT(msgLog+"[ ejbCreate ] START....");
              } catch (Exception e) {
                   if (e.getMessage()!=null)this.error=e.getMessage();
                   loc.fatalT(msgLog, this.error);
    public void ejbRemove() {
              try {
                   loc.fatalT(msgLog+"[ ejbRemove ] STOP....");
                   this.plug.close();
                   loc.fatalT(msgLog+"[ ejbRemove ] ...OK");
              } catch (ControlException e) {
                   loc.fatalT(msgLog+"[ ejbRemove ] ...K O !!!!");
    The my problem is:
    When open the IE and open my WD  the new EJB's instance is created (I see my log +"[ ejbCreate ] START....in LOG VIEWER).
    But, when I do log-off or I close IE, I don't see "[ ejbRemove ] STOP...." in LOG.
    Result:
    I open the MDM connection but not close it.
    Where is the problem?
    In Web Dynpro?
    In Web services?
    I have to create another WS's type?

    Hi Max,
    You can't run an EJBControl from a simple java class using either @Control or programmatic instantiation.
    The EJBControl implementation relies on Resource Context events so it "needs" a container context to run.
    You can use the ControlTestCase to unit test an EJB via EJB Control. You will need to configure the JNDIContextEnv annotation to bind to the server where the EJB is deployed. Note that this only works with EJBs that have a remote interface and a global JNDI name.
    The test case would look something like this (I've seen this example run as long as the JUnit classpath includes weblogic.jar)
    public class SimpleClient extends ControlTestCase {
    public void setUp() throws Exception { super.setUp(); }
    public void tearDown() throws Exception { super.tearDown(); }
    @Control
    @EchoEjbControl.JNDIContextEnv(
    contextFactory="weblogic.jndi.WLInitialContextFactory",
    providerURL="t3://localhost:7001",
    principal="weblogic",
    credentials="weblogic"
    public EchoEjbControl echoEjb;
    public void testXXX() {} // ... test methods that reference echoEjb
    Thanks
    Vimala

  • [solved] remove grub timeout doesn't work

    i am trying to remove the grub timeout by editing /etc/default/grub and setting grub_timeout to 0, but it doesn't work, is there anything else i should change?
    p.s. should i run grub-mkconfig?
    Last edited by aldoiljazi (2013-09-18 07:35:11)

    okay i run 'sudo grub-mkconfig'
    this is my /etc/default/grub
    GRUB_DEFAULT=0
    GRUB_TIMEOUT=0
    GRUB_DISTRIBUTOR="Arch"
    GRUB_CMDLINE_LINUX_DEFAULT="quiet"
    GRUB_CMDLINE_LINUX=""
    # Preload both GPT and MBR modules so that they are not missed
    GRUB_PRELOAD_MODULES="part_gpt part_msdos"
    # Uncomment to enable Hidden Menu, and optionally hide the timeout count
    #GRUB_HIDDEN_TIMEOUT=5
    #GRUB_HIDDEN_TIMEOUT_QUIET=true
    # Uncomment to use basic console
    GRUB_TERMINAL_INPUT=console
    # Uncomment to disable graphical terminal
    #GRUB_TERMINAL_OUTPUT=console
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    GRUB_GFXMODE=auto
    # Uncomment to allow the kernel use the same resolution used by grub
    GRUB_GFXPAYLOAD_LINUX=keep
    # Uncomment if you want GRUB to pass to the Linux kernel the old parameter
    # format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
    #GRUB_DISABLE_LINUX_UUID=true
    # Uncomment to disable generation of recovery mode menu entries
    GRUB_DISABLE_RECOVERY=true
    # Uncomment and set to the desired menu colors. Used by normal and wallpaper
    # modes only. Entries specified as foreground/background.
    #GRUB_COLOR_NORMAL="light-blue/black"
    #GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
    # Uncomment one of them for the gfx desired, a image background or a gfxtheme
    #GRUB_BACKGROUND="/path/to/wallpaper"
    #GRUB_THEME="/path/to/gfxtheme"
    # Uncomment to get a beep at GRUB start
    #GRUB_INIT_TUNE="480 440 1"
    #GRUB_SAVEDEFAULT="true"
    and this is my /boot/grub/grub.cfg
    # DO NOT EDIT THIS FILE
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    ### BEGIN /etc/grub.d/00_header ###
    insmod part_gpt
    insmod part_msdos
    if [ -s $prefix/grubenv ]; then
    load_env
    fi
    if [ "${next_entry}" ] ; then
    set default="${next_entry}"
    set next_entry=
    save_env next_entry
    set boot_once=true
    else
    set default="0"
    fi
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 6b44daaa-610c-4f23-a632-569d091e4d43
    else
    search --no-floppy --fs-uuid --set=root 6b44daaa-610c-4f23-a632-569d091e4d43
    fi
    font="/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=en_US
    insmod gettext
    fi
    terminal_input console
    terminal_output gfxterm
    set timeout=5
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-6b44daaa-610c-4f23-a632-569d091e4d43' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 6b44daaa-610c-4f23-a632-569d091e4d43
    else
    search --no-floppy --fs-uuid --set=root 6b44daaa-610c-4f23-a632-569d091e4d43
    fi
    echo 'Loading Linux core repo kernel ...'
    linux /boot/vmlinuz-linux root=UUID=6b44daaa-610c-4f23-a632-569d091e4d43 rw quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux.img
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    ### BEGIN /etc/grub.d/60_memtest86+ ###
    ### END /etc/grub.d/60_memtest86+ ###
    p.s. i didn't think you needed those, because i thought they had default values.
    edit: i guess i need 'grub-mkconfig -o /boot/grub/grub.cfg '
    Last edited by aldoiljazi (2013-09-18 07:31:39)

  • TS3704 How are you supposed to fix "The feature you are trying to use is on a network resource that is unavailable" alert appears when you remove Apple software in Windows if it doesn't work on Windows 8 or 8.1???

    How are you supposed to fix "The feature you are trying to use is on a network resource that is unavailable" alert appears when you remove Apple software in Windows if it doesn't work on Windows 8 or 8.1???

    See Troubleshooting issues with iTunes for Windows updates. You may have to uninstall what you can, reboot and delete the named folders, then reinstall.
    tt2

  • I tried plug-in, it doesn't work, how do I remove it?

    Thank you for reading it.
    Today I installed the "Who stole my picture?" plug-in, and it doesn't work (or maybe I have no idea how to operate it!) . How do I remove it? It is annoying to see it popping up every time I right-click! Useless thing..

    You can remove installed extensions in Firefox/Tools > Add-ons > Extensions.
    *http://kb.mozillazine.org/Uninstalling_add-ons
    *http://kb.mozillazine.org/Uninstalling_toolbars

  • I came into the store because my middle button was not working. Then they gave me a middle button that's on the screen of my phone. I got a new phone do now my middle button doesn't work but I still have the internal digital button, how do I remove it?

    I came into the store because my middle button was not working. Then they gave me a middle button that's on the screen of my phone. I got a new phone do now my middle button doesn't work but I still have the internal digital button, how do I remove it?

    Settings>General>Accessibility>(scroll down to)AssitiveTouch and change to Off

  • Junk mail filter in yosemite doesn't work. i can't find the 'mark as junk' selection or 'remove from previous recipients' which would help to filter out spam.

    junk mail filter in yosemite doesn't work. from the flags, i can't find the 'mark as junk' selection. Formerly clicking on the email address in question would allow one to 'remove from previous recipients' which would help to filter out spam. I've adjusted all the settings under mail preferences, but that is not helping.

    Hello Diane162,
    Welcome to the Apple Support Communities!
    I understand that you would like to be able to filter some of the junk mail that you are receiving in Mail. The attached article has a lot of great information on junk mail filtering, including how to mark as junk and adjust the junk filter.
    Mail (Yosemite): Reduce junk mail in your inbox
    Cheers,
    Joe

  • [svn:fx-trunk] 7434: Remove over-optimization that doesn't work if bounds. x != 0.

    Revision: 7434
    Author:   [email protected]
    Date:     2009-05-29 11:22:17 -0700 (Fri, 29 May 2009)
    Log Message:
    Remove over-optimization that doesn't work if bounds.x != 0.
    QA Notes:
    Doc Notes:
    Bugs: SDK-21470
    Reviewers: Gordon
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21470
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as

    I have exactly the same issue and it is INFURIATING. I have done several factory resets. reinstalled iTunes, pretty much everything as above. Hours and hours of failed trial and error. I can get one proper sync. ONE. If I'm lucky, by wiping everything. Then will iTunes update reliably? NO. Exactly the above issue. (including huge "other" files from some of the failed syncs.)
    Iphone 6, latest updates. Latest OS X, latest iTunes. This problem started in the last week or so with my iPhone 5 before I upgraded a few weeks ago. It has to be an issue with the new iTunes and its (in)ability to do proper syncing.

  • Privacy - remove all website data doesn't work

    Hi all,
    when I choose privacy > remove all website data - it doesn't work and all the data remains.... (details says many are in cache)
    Q: why is this and how to I remove the data?

    A well known contributor here wrote the following ...
    Cookies have acquired a worse reputation than they deserve.   They cannot hold any executable code, they just hold data and then, only data the user has provided.   You could say they're as dangerous as you let them become.
    And that I think sums it up.    Clearing all website data is counter productive insofar as it removes many cookies that do a useful job and save you time.
    Just take care where you browse, use private browsing if you are unsure and that should be enough.   As an option, I bought an app called 'Cookie'. It's about £10 and I found it very good for a whole range of other cookies like databases and flash cookies.   Read about it at ...
    Download Cookie for Mac - Protect your online privacy. MacUpdate.com
    Thanks for the star. 

  • Why is my diabled login greyed out after i unlock it? I have tried to remove the library file but it doesn't work

    Why is my diabled login greyed out after i unlock it? I have tried to remove the library file but it doesn't work. It worked the first time and than all of a sudden it was greyed out.

    Where do you see a disabled login? In system preferences? In Login screen?

  • Removing files from nano 6th gen: right clicking on selected file will not reveal a delete option, only play, get info, rate. Highlighted and hitting delete key doesn't work.

    Trouble removing files from 6th gen ipod nano: right clicking on selected file will not reveal a delete option, only play, get info, and rate. Highlighting the file and hitting delete key doesn't work. Have run diagnostics and rebooted nano to no avail. This is my second 6th gen nano; this prob never occured with it. Will greatly appreciate any help.

    Doink!  I didn't realize it wasn't checked. Works perfectly now. Thank you for post!!

  • TS3212 Hi my itunes has stopped working but every time i try to reinstall it it doesn't work properly and asks me if i want to totally remove itunes or replace/repair. I choose replace/repair but it just closes immediately and says it was interrupted...cl

    Hi my itune on my PC  has stopped working and every time i try to reinstall it it doesn't work properly and asks me if i want to totally remove itunes or replace/repair. I choose replace/repair but it just closes immediately and says it was interrupted...does anyone have any clues?

    Hi Shawn and Jason,
    I have the same problem. One workaround is to clean your disk before running LiveCycledesigner. After you have cleaned up your disk LiveCycleDesigner will start a few times and you can work with it.
    It is an Vista problem. LiveCycleDesigner 8.1 which is just released had fixed the problem so you can also download 8.1
    greetings Fons

Maybe you are looking for

  • System freezing - kt4a7-L

    Hello, system details. motherboard: kt4av memory:900mb pc2100 cpu: athlon xp 2100 bios: unknown(never flashed) vga:Geforce 6 6200 128mb. psu:600w The problem is that when I have the cpu fsb set to 100mhz I have no problems,although the cpu only runs

  • Sales tax condition not picking in p.o

    Dear gurus, I am getting problem of sales tax . Its maintained in tax pricing procedure. I haver maintained condition record for the same in FV11. I am getting all other taxes only sales tax condition is not appering?   can any 1 tell about this?

  • No thumbnails for some .mov files Bridge CS5

    I'm using Bridge CS5 to organise some video which has been digitised from a sony camera in File Maker Pro X. My operating system is Mac OS X. I have Quicktime player 10.1 and have just checked for updates. Some of my .mov files show thumbnails which

  • USER COMMAND CODE for the ICON "Back"

    Hello All,              I wanted to know if there is any command code for the user-command icon "back" that i can use while programming. e.g. as for the icon "save" there is '&data_save' code which we can use. I have used the code "&F03" for 'back" b

  • I have iphone 4s ... Why i message not turn on (in setting) reply please thanks

    Why i message not working??? Thx!