/ Published in: ActionScript 3
There are many ways to tweak this code but hopefully this will get you all started. Whenever I'm tracking PageViews or Events for something like Google Analytics, I don't want navigateToURL() to interfere while I'm developing. These two functions will keep navigateToURL() from trying to load a Browser page until the SWF is loaded into an HTML page