Titanium Community Questions & Answer Archive

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

Will someone PLEASE help me with this animation? Any Appcelerator people out there?

Here is my defined animation style

var t = Ti.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT;

Here is my code

var winAdd = Titanium.UI.createWindow({  
            title:'Add Location',
            url:'addlocation.js',
            barColor:'#000000',
            modal:true,
            backgroundImage:'stripes.png',
            backgroundColor:'#fff'
        });
        win.animate({view:winAdd,transition:t});
        //winAdd.open();

Doing it this way (using the uncommented win.animate) works correctly, except it just shows a blank screen.

Doing the //winAdd.open() opens the url, except no matter what, it slides from the bottom.

Does anyone have a clue as to what the deal is? I followed the Animation example in the API.

Iphone, btw

— asked November 11th 2010 by Josh Lewis
  • animation
  • iphone
0 Comments

1 Answer

  • I reported this as a bug back in July - winAdd.open is the preferred way I think, but if you use a URL: tag, the transition is ignored; see http://developer.appcelerator.com/helpdesk/view/32011 (may require premium support?) and https://appcelerator.lighthouseapp.com/projects/32238/tickets/1572-modal-transition-effect-failure - are you running the latest 1.5 incremental build, or the last stock 1.4.1.1 release?

    — answered November 11th 2010 by Richard Baughman
    permalink
    0 Comments
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.