• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

PopUpManager error

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I am getting a weird error when trying to call addPopup() to add a custom popup. It's been working the whole time until I made some minor changes today that broke it, and now I can't seem to get it back in working order.

My code (fired on button click to open popup):



And in ViewEditDeletePopup.mxml I just have a Panel, which contains an HBox, which in turn contains 3 buttons.

When addPopUp is called, I get the following error: (apart from the error, the popup opens correctly and is completely functional. It's just the error that pops up every time.) My popup mxml does implement IFlexDisplayObject. It's funny because I have another popup elsewhere in the app that I create in the exact same way, but it does not produce the error. However, replacing the ViewEditDeletePopup.mxml with the other popup also doesn't work. I think the problem lies within PopUpManager itself.

The error:



What could I be missing?

Thanks!

 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I tend to agree - looks like a PopUpManager issue. Have you looked at the source? Whatever PopUpManagerImpl.as references on line 434 is the issue I think.
 
Ranch Hand
Posts: 93
Python Redhat Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Try using

 
The glass is neither half full or half empty. It is too big. But this tiny ad is just right:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic