animationStyle when adding a view
Hi there
Does 1.0 support the earlier animations like : animationStyle:Titanium.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT
in 0.8 these were applied to showView, But from 0.9 there is no showView and views are displayed when added.
cheers
Chris.
2 Answers
-
If you look at the transitions.js file in Kitchen Sink you'll see the examples for this. You can now just use a transition animation to get the same (and more powerful) effects.
You can essentially do stuff like this:
imageView.animate({view:image2,transition:Ti.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT});
Where imageView is the animation from and image2 is the animation to.
-
Great thanks Jeff, that's excellent.