My situation Application type :
mobile Titanium SDK : 2.1.1 Platform & version : iOS 5.1 Device : iOS simulator Host Operating System : mountain lion Titanium Studio : 2.1.1.201207271312Hi ! My problem lies in failing to set an animated appearance, for example (Titanium.UI.iPhone.AnimationStyle.CURL_UP), for a secondary window. I'll post two images, the first is the main, the second is the window that opens by pressing one of the many buttons on the right of each row of the table row view of the first image.
now I wonder how I can set the event listener on the button to bring up the window with this animation?
PS : the animation that I was able to work is this (beacause i set the property opacity to 0.0)
cancelBtn.addEventListener('click',function(e){ if(e.source.buttonid==0) { pizza1.animate({opacity:1.0,duration:500}) }
1 Answer
Accepted Answer
you can do the animation on opening of the window... it is difficult to provide more guidance because you did not provide a workable piece of sample code here
Your Answer
Think you can help? Login to answer this question!