I think that even after Titanium SDK 1.5.1 (which supposably implements animation for the Android platform), transform still doesn't work properly.
If you use it with an animation like here
var t = Ti.UI.create2DMatrix(); t = t.rotate(10); var a = Titanium.UI.createAnimation(); a.transform = t; a.duration = 200;it works fine.
But if you try using something like
myImage.transform = t;nothings actually happens. No errors in the log either. I guess it's still something to be implemented in the future?
Last I looked, there were a few open tickets in Lighthouse related to animations. They were marked for later 1.5x M02, M03, etc. milestones. Now that they've shipped 1.5.1, they might be calling all those future builds something like 1.6 or similar. I'd like to be able to rotate an image around its center point rather than top-left corner. A solution for my ticket about that wasn't included in this recent release. :(
Think you can help? Login to answer this question!