Animation of Default.png in KitchenSink
Hello,
I have installed KitchenSink on both my iPhone and Android phones. Works pretty well. I am wondering where the control of the animation/transition (flip) of the Default.png was being done. I cannot find it anywhere in the code.
Thanks in advance
Olivier
3 Answers
-
It's around line 97 of the app.js
tabGroup.open({ transition:Titanium.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT });
-
How can we add a fadeout/fadein transition? Do I have to change the Titanium source code?
-
I did this by adding a imageview of the same default.png then fading it out.
var startupAnimation = Titanium.UI.createAnimation({ curve:Ti.UI.ANIMATION_CURVE_EASE_IN_OUT, opacity:0, duration:1000 }); startupWindow.animate(startupAnimation);