If the file has any Titanium function, eg. Titanium.App.addEventListener or Titanium.App.fireEvent, it won't work by just calling loadUrl(). We has to do some binding. (See the method setUrl(String) for reference)