I'd appreciate it if you could.  That is the same issue I'm having,
but also will happen if I simply click somewhere else in the app while
the menu is up.  I have one of my developers trying to extract out a
sample the reproduces.

--- In flexcoders@yahoogroups.com, "toofah_gm" <[EMAIL PROTECTED]> wrote:
>
> In order to get around this one, we ended up taking the PopUpButton
> class code and making our own version of it...too many parts of it
> were private and extending it to get rid of the problem was impossible.
> 
> If I get a second, I will try to upload some sample code to reproduce
> the problem.  In my case I am popping up a menu.  The problem occurred
> when I the popup closed after a menu click.
> 
> 
> --- In flexcoders@yahoogroups.com, "dbronk" <dbronk@> wrote:
> >
> > Not sure how to get by this one.  I have a TileList with a custom item
> > renderer.  The item renderer shows a type of business card ui.  One of
> > the controls in this renderer is a PopUpButton.  The popup menu comes
> > up just fine, but when the user clicks somewhere else I get a null
> > pointer error in PopUpButton.as line 772:
> > 
> > point = _popUp.parent.globalToLocal(point);
> > 
> > _popUp.parent is null.  I'm sure it has something to do with being in
> > an itemRenderer and the renderers being reused, but I'm at a loss on
> > how to handle this.
> > 
> > Suggestions?
> > 
> > Thanks,
> > Dale
> >
>


Reply via email to