8 Replies Latest reply on Jun 15, 2010 7:10 AM by PHANTOMIASA

    Check if an element exists




      I have a component and I do this in a function which handles a Mouse doubleclick:


      private function onDoubleClickHandler(event:Event):void {


      Now the user can do a doubleclick one more time, and then I have to check if the myElement ist still there. So, how can I do this?

      Do I have to take a boolean value, so I can check this or is there a better way?


      Thanks a lot in advance & Best Regards.