Titanium Appcelerator Quickie: Global Variables, Scopes & NO Events, Part 2 - Clearly Innovative | Web and Mobile DevelopmentClearly Innovative | Web and Mobile Development

So the first example really really was useless, but this is more specific… and it addresses the issue of what do I do with my windows that are opened with a URL??!!!??

PLEASE look at the documentation on the wiki on global namespaces and PLEASE look at the documentation associated with the TiBountyHunter application which is used in the training classes.

All of this is really based on the content provided there

here are links to the related posts

Please don’t ask my why I did what I did in the code, I created meaningless functions to show that the variables are in the global scope and can be accessed from anywhere within the application.

This is an alternate solution to assigning variables to Ti.App which is officially a no-no