Hi, i'm trying to open a new window in Alloy, by first fade out the actual window and then fade it the new window, but the default animation when you open the new window keeps going on, any idea?, thanks for your time.
function doLogin(e) { var login=$.index; var animation = require('alloy/animation'); // var animate=animation.crossFade(login, win, 300, function(){}); var win = Alloy.createController("main").getView(); var animate1=animation.fadeOut(login, 500, function(){ var ani1=animation.fadeIn(win, 500, function () {}); win.open(ani1, {animated:false}); }); };