Hi,

I am sending the sample Custom List which disables the key down


package
{
        import flash.events.KeyboardEvent;

        import mx.controls.List;

        public class CustomList extends List
        {
                public function CustomList()
                {
                        super();
                }
        override protected function keyDownHandler(event:KeyboardEvent):void
    {
        if(situation){
                super.keyDownHandler(event);
        }else{

        }
    }
        }
}


if u can eloborate ur requirement.u may get the right solution
On May 26, 12:54 pm, Nakul Mishra <[email protected]> wrote:
> like u add the event to key using addEventListener
> u can also remove the events using removeEventListener.
>
>
>
> On Wed, May 26, 2010 at 8:35 AM, Avanti <[email protected]> wrote:
> > Hi,
> > In my application i want to remove KeyDown event in perticular
> > situation.
> > So that if user press any key it will not effect on application.
> > can any one please help me in this
>
> > regards
> > Avanti
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Flex India Community" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<flex_india%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/flex_india?hl=en.
>
> --
> Regards
> Nakul

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to