NetLizard
Splash screen
  1. function OnReady()
  2. {
  3. //appname- dasturingiz nomi.
  4.   var appname = "Mening dasturim"
  5.  
  6.   //kutish progressini yashirish.
  7.   app.HideProgress();
  8.  
  9.   // Splash screen uchun layout yaratish.
  10.  laySplash = app.CreateLayout( "linear", "VCenter,FillXY" );
  11. //layout orqasini qora rang qilish
  12.  laySplash.SetBackColor( "yellow" );
  13.  
  14.  //splash screenda iconkali rasm chiqarish
  15.   var imgPath = "Img/Splash.png";
  16.  var img = app.CreateImage( imgPath, 0.5 );
  17.  laySplash.AddChild( img );
  18.  
  19.  //splash screenda splash rasmidan keyin dastur nomini chiqarish.
  20.  var txt = app.CreateText( appname );
  21.         txt.SetBackColor("black");
  22.         txt.SetTextColor("white");
  23.  txt.SetTextSize( 24 );
  24.  txt.SetPadding(0.05, 0.02, 0.05, 0.02)
  25.  txt.SetMargins(0.01, 0.1, 0.01, 0.1);
  26.  laySplash.AddChild( txt );
  27.  
  28.  //dastur nomidan keyin, slogan qoshish.
  29.  var txt2 = app.CreateText( "Hush kelibsiz Example dasturiga!",0.8,-1,"multiLine" );
  30.  txt2.SetTextSize( 20 );
  31.  txt2.SetBackColor( "red" );
  32.  txt2.SetTextColor( "white" );
  33.  txt2.SetPadding( 0.03, 0.03, 0.03, 0.03 );
  34.  laySplash.AddChild( txt2 );
  35.  
  36.  //lay layoutni dasturga qoshish.
  37.  app.AddLayout( laySplash );
  38.  
  39.  //splash screenni avto ochirish/avto bekor qilish.
  40.  var delay = 5000 //bu yerda delay=millisekundlar.
  41.  setTimeout(function(){laySplash.Animate("FadeOut",null,1000)},delay)
  42. }

*- bu orqali o'z dasturlaringizga splash screen qo'yishingiz mumkin.