title: Splash screen fade-out in titanium
body: <p>I want to fade out the splash screen.</p>
  
  <p>I think it's possible in native code android or iOS.</p>
  
  <p>However for titanium which way is the appropriate ??</p>
  
  <p>for now my source code is this</p>
  
  <pre><code>var topWin = Ti.UI.createWindow();// main application window.
  
  var img = Ti.UI.createImageView({
      image : '/img/Default.png',
      top : 0,
      left : 0,
      width : '100%',
      height : '100%'
  });
  
  var splash = Ti.UI.createWindow(); //splash window
  splash.add(img);
  
  splash.open();
  
  var fadeOut = Ti.UI.createAnimation({
      opacity : 0.2,
      duration : 300
  });
  var fadeIn = Ti.UI.createAnimation({
      opacity : 1,
      duration : 1800
  });
  
  setTimeout(function(e) {
      splash.close(fadeOut);
      topWin.open(fadeIn);
  }, 3000);
  </code></pre>
  
  <p>It works as I mean however I think this way might be a bit strange.</p>
  
  <p>Since 
  I have to decide the each image according to different resolution devices(iphone/ipad/android ,,) by manual while splash screen is chosen automatically.</p>
  
  <p>Is there a good way other than this??</p>