Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Click Animation

Is there anyway to click a imageview that is currently animating? right now I have to wait until the imageview stops animating then I can click, it would be usuful to click an imageview that is currently animating. Any Advice

— asked June 17th 2010 by John Hass
  • android
  • animate
  • animation
  • iphone
0 Comments

1 Answer

  • Have you tried using a standard view with a background image? I'm running a quick and dirty test where I can get click events from that when it's animating…

    — answered June 19th 2010 by Kevin Whinnery
    permalink
    2 Comments
    • Can you share some code + what version of TI are you using ?
      For me with 1.3.0 is not working.
      I setup an animation of 3 seconds( left top ) to be slow enough to click on the view. When I click on the view not animated it reports e.source the view - correct - but while the view is moving it's reporting the parent view.
      Also after the animation is finished, the coords of the view are not correct( the old ones are displayed ).

      — commented June 19th 2010 by Dan Tamas
    • I have tried animating a standard view (with or without a background image). The click event fires only when the animation is moving very slowly or after completion. When the animation is moving with any speed, the click event does not fire. Kevin, could you post a bit of code that works for you? Any advice appreciated.

      — commented June 23rd 2010 by Daniel Cher
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.