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 event while view in animation don't work

Hi guys,
the view don't receive any events while in animation, i add the event click on the view, but the event don't work until the animation stop ? any way it can work while in animation

here's a simple code

var win = Ti.UI.currentWindow;

var view1 = Ti.UI.createView({
width: 60,
height: 60,
borderRadius: 30,
top: -60,
left: 0,
backgroundColor: "red"


view1.animate({top: 300, duration: 3000});

view1.addEventListener("click",function() {

please help, my app depend mainly on animation …

— asked August 13th 2010 by mostafa farghaly
  • animation
  • event
  • view

1 Answer

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.