This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Flex and the fly likes PopUpManager error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "PopUpManager error" Watch "PopUpManager error" New topic

PopUpManager error

Philippus Scholtz

Joined: Sep 19, 2009
Posts: 5

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?


Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

I tend to agree - looks like a PopUpManager issue. Have you looked at the source? Whatever references on line 434 is the issue I think.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Karthik Jayachandran
Ranch Hand

Joined: Feb 18, 2009
Posts: 91

Try using

I agree. Here's the link:
subject: PopUpManager error
It's not a secret anymore!