Just a guess as I am not aware of the whole picture: try this - function completePreloader(e:Event)
as you call this on an event. Let me know. Also check if your debugger is on. On Thu, May 27, 2010 at 8:13 PM, John Singleton <johnsingleton...@yahoo.com>wrote: > Hi; > I have this code: > > function completePreloader() > { > navigateToURL(new URLRequest('index.py')); > trace('yep'); > } > > that is triggered after all the assets have loaded in the preloader. It > prints the trace. But it doesn't surf to the URL. It just sits there. Also, > when I run the other code that works, which is basically identical, it > prints this error: > > Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found. > > because it can't surf to that relative URL. But my new *.as file doesn't > print that error. Why? > TIA, > John > > > > > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Warm Regards Deepanjan Das M: +91 9836582808 "Think of the environment before printing this email" _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders