get url from unity

I’ve had a bit of a poke around but couldn’t find any direct reference to calling up a new web page from within a unity web player … can it be done internally from the web player or do I need to write some php to catch the request etc

can anyone point me to any refs or scripts …

I have two desires …
1./ to be bale to simply call up a new web page in the browser
2. to load new web players using the LoadUnityWeb

any tips and pointers are really appreciated

You could pop open a web page using Javascript: http://unity3d.com/support/documentation/Manual/Unity%20Web%20Player%20and%20browser%20communication.html

As for LoadUnityWeb, I’ve never used it and only know of the reference at: http://unity3d.com/support/documentation/ScriptReference/WWW.LoadUnityWeb.html

ah yeah …
stumbled across that … I guess didn’t pay attention …
I totally missed the bottom bit of code … which obviously is what I was after …

Application.ExternalEval(
    "if(document.location.host != 'unity3d.com') { document.location='http://unity3d.com'; }"
);

so thanx for helping me along …

I was also trying the LoadUnityWeb techniques for loading a new .unity3D file into the browser …
but had issues with the browser (firefox) crashing … now however I think I can see how to do it using the app.externalCall

so thanx again