Return to Snippet

Revision: 43006
at March 15, 2011 05:45 by tpryan


Initial Code
protected var webView:StageWebView = new StageWebView();

protected function processAuth(event:ServiceEvent):void
{
				
	var url:String = "http://theurl.com";				
	webView.addEventListener(Event.COMPLETE, afterAuthLoad);
	webView.loadURL(url);
				
}

protected function onComplete(event:Event):void
{
				
	if (webView.title ==  "Remember The Milk - Application successfully authorized"){
		webView.dispose();
		auth.addEventListener("result", setToken);
		auth.getToken(frob);
					
	}
				
}

Initial URL


Initial Description


Initial Title
StageWebView Location Changing without a Page Refresh

Initial Tags


Initial Language
ActionScript 3