Inna WWW style...

Heya
im having my first go with the WWW stuff, and am not sure if I’m close to what I’m trying to achieve, or if this stuff is a lot harder than I am anticipating…

Im trying to use key input (the asterisk on the keypad) to go to a webpage. Doesnt seem to work:

// Go to page where The Oasis is hosted
var url1 = "http://rapidshare.com/files/10212723/TheOasis2006.zip.html";

function Start () {
    if (Input.GetKeyDown("[+]")) 
    var www : WWW = new WWW (url1);
 
 
}

Am I on the right track?
Thanks
AC

You are looking for this function:

http://unity3d.com/Documentation/ScriptReference/Application.OpenURL.html

Cheers,
-Jon

Brilliant-works well. Thanks Jon
AC