flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mihai Chira <mihai.ch...@gmail.com>
Subject Re: rollOut Issue with child dropdown in panel
Date Mon, 19 Sep 2016 16:56:16 GMT
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 <post@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.

Mime
View raw message