Transformation work in simulator but not on devices
Hi
We are using transform/animation to scale an image on a View in the app. It works flawless in the simulator but when installed on devices it hangs or just displays the image 100% size and no animation and scaling occurs. Why does this happen?
1 Answer
-
Here is an sample that should put the animated image to scale 0 but the animation doesnt work on the device
var lockimage = Titanium.UI.createImageView({ image:'images/padlock.png', height:57, width:50, top:50, left:50 }); var t3 = Ti.UI.create2DMatrix(); t3 = t3.scale(0); var a3 = Titanium.UI.createAnimation(); a3.transform = t3; a3.duration = 50; lockimage.animate(a3);
Any ideas?