Two lines of code are used in a function to have Flash load an external location.
This first line of code defines a variable. You put where you want to go in this variable (swap Google out with wherever you want to go).
var request:URLRequest = new URLRequest("http://www.google.com");
This second line of code tells Flash to go to the variable you set.