Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

flip a view from top to bottom

I'm trying to flip a view from top-to-bottom (vertically).
I figured the best way to achieve this would be to use the native "FLIP_FROM_LEFT" animation, rotated 90degrees, but these two methods don't seem to play nicely together…

flipButton.addEventListener('click', function(e)

    function doRotate () {
        var t3 = Ti.UI.create2DMatrix();
        t3 = t3.rotate(90);

        var a = Titanium.UI.createAnimation();
        a.transform = t3;
        a.duration = 100;


    var flipAnim = Titanium.UI.createImageView({

Any pointers please?

— asked August 21st 2010 by Todd Gronwood
  • animation
  • flip
  • iphone
  • rotate
  • transition

0 Answers

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.