How To Use LoadUnityWeb To Load a New Webplayer

Hello,

I am using a webplayer interface to load a game on my server when a button is clicked. Everything seems to be going well (no errors), but the new webplayer game never loads/starts. Am I missing something in the code below? Or is it due to the webplayer I am trying to load (ie: does it need to be a streamed webplayer etc)?

    using UnityEngine;
    using System.Collections;

public class InterfacerB : MonoBehaviour {

void OnGUI()

{ 
   if (GUI.Button(new Rect(Screen.width / 2, Screen.height / 10, 100, 25), "Load Game 1"))
   {

      StartCoroutine("StartLoad");

      Debug.Log("Clicked to load");
   } 

}

    IEnumerator StartLoad () {

        WWW stream = 
          new WWW ("http://www.faskoona.com/mature/m_content/content01/WebPlayer/WebPlayer.unity3d");
        while (!stream.isDone) {
        Debug.Log("Loading");

            yield return null;
        }

        stream.LoadUnityWeb();
    }
}

Any help is greatly appreciated!

I think what you're looking for is an asset bundle. http://unity3d.com/support/resources/example-projects/assetbundles.html

I have found the answer to my problem. There is nothing incorrect in the code.

I had to read this documentation: http://unity3d.com/support/documentation/Manual/Security%20Sandbox.html All I needed to include was the crossdomain.xml document in my server root directory, and all works well.

I would have figured this out a long time ago, but when I initially looked into the "no crossdomain.xml policy exists" error, someone said to simply ignore it as it was not important.