Oops...i mean Hit a URL w/o opening a new browser?

Is there a way (function) in MX that will, onClipEvent, hit (or open) a URL without physically opening up a new browser?

on (release){
getURL(“yourfile.html”, “_self”);
}

This says that when you release the button (after you click on it) your browser will go to yourfile.html.

You can have _self for same window, _blank for new window, or you can just replace it with a name if you are using frames and are targeting a particular frame name.

Also remember, when testing the movie inside Flash, it will always open up a new window as Flash is not a browser. To test the code you will have to publish your movie to a .html file and test it in there.