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
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?