Guest User

Untitled

a guest
May 11th, 2012
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var win = Titanium.UI.currentWindow;
  2. win.backgroundColor = '#13386c';
  3.  
  4.  
  5. win.addEventListener('focus', function(){
  6.     alert("we have focus");
  7. });
Advertisement
Add Comment
Please, Sign In to add comment