I have used this simple script on a plane to show the image from the respective url
// Get the latest webcam shot from outside “Friday’s” in Times Square
var url = “http://images.earthcam.com/ec_metros/ourcams/fridays.jpg”;
function Start () {
// Start a download of the given URL
var www : WWW = new WWW (url);
// Wait for download to complete
yield www;
// assign texture
renderer.material.mainTexture = www.texture;
}
i want to change the url from runtime webplayer , what i want to do is , i want this url to be called in an xml which is kept along with the webplayer in the same folder…
any 1 please guide me with step by step code…i wont be able to do this with directions but i wanna learn