Revision: 28524
                            
                                                            
                                    
                                        
Initial Code
                                    
                                    
                                                            
                                    
                                        
Initial URL
                                    
                                    
                                
                                                            
                                    
                                        
Initial Description
                                    
                                    
                                                            
                                    
                                        
Initial Title
                                    
                                    
                                                            
                                    
                                        
Initial Tags
                                    
                                    
                                                            
                                    
                                        
Initial Language
                                    
                                    
                                                    
                        at July 9, 2010 02:48 by IsoJon
                            
                            Initial Code
// gotoLink takes 3 parameters: the event, the URL string, and the method (_self, _blank, etc)
//
// sample usage:
// gotoLink( evt, "http://google.com", "_blank" );
function gotoLink( evt:Event, l:String, meth:String  ) : void
{
	var URLReq:URLRequest = new URLRequest(l);
	try 
	{
		navigateToURL(URLReq, meth);
	} catch (e:Error) 
	{
		trace(e);
	}
}
                                Initial URL
Initial Description
Great little snippet I use to target an external link.
Initial Title
Easily Target a URL with the Window Method of Your Choice
Initial Tags
url
Initial Language
ActionScript 3