2 Replies Latest reply on Apr 7, 2008 10:29 AM by ntsiii

    Bug when events are instantiated by AS3 instead of MXML

    firdosh Level 1
      In example 1 the events rollOver and rollOut are initialized using MXML.
      When you run the example you can see when you rollOver the Canvas the backgroundColor changes and the rollOver event is fired and when you rollOut the backgroundColor changes again. Thats the way it should work. GOOD :).

      Now in example 2 the events rollOver and rollOut are initialized using AS3 code. Now when you rollOver the Canvas
      the backgroundColor changes and the rollOver event is fired. Good...but now when you rollOver the Button the rollOut event is fired and then the rollOver event is fired again.( You can see the flicker ).

      Why are the child components taking focus away from the parent when events are initialized using AS3 ?

      Thanks
      Cheers
      Firdosh