I would use event.target. I haven't compiled the code, but I imagine
something like this should work:

if(event.target == p)
{
    removeElement(p);
    p = null;
}

On 19 September 2016 at 16:21, OK <p...@olafkrueger.net> wrote:
> Code was eaten by the mailing list, here's just the modified function:
>
> private function onRollout(event:MouseEvent):void {
>         // Analyze the "relatedObject" property
>         if(event.relatedObject!=null && Group(event.relatedObject).id !=
> "dropDown") {
>                 removeElement(p);
>                 p=null;
>         }
> }
>
> HTH,
> Olaf
>
>
>
> --
> View this message in context: 
> http://apache-flex-users.2333346.n4.nabble.com/rollOut-Issue-with-child-dropdown-in-panel-tp13568p13570.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to