0 Replies Latest reply on Jun 17, 2009 4:38 AM by blackeyedbean

    how to resolve the issue click successive?

    blackeyedbean

      I used Sequence effect for changing a component's zoom,if click successive,the x and y value of the component get incorrect.I don't want to disable click event in effect progress,how to resolve the issue

       

       

      function  clickEffect():void{
                  var seq:Sequence = new Sequence();
                  var _zoom:Zoom = new Zoom();
                  _zoom.zoomWidthTo = .85;
                  _zoom.zoomHeightTo = .85;
                  _zoom.duration = 330;
                  _zoom.easingFunction=mx.effects.easing.Back.easeIn;
                   var _zoom2:Zoom = new Zoom();
                  _zoom2.zoomWidthTo = 1;
                  _zoom2.zoomHeightTo = 1;
                  _zoom2.duration = 250;
                  _zoom2.play();
                  seq.target=cardDescript;
                  seq.addChild(_zoom);
                  seq.addChild(_zoom2);
                  seq.play();
             }