hello everyone…here’s my case…ill provide some picture what actually happen to my project…first picture show my original texture of sphere…when i click the object it will show guibox that show movie texture there(picture 2)…after i play and stop it show my sphere like in picture 2 beside my pop guibox… here my my code so far…everything fine except the material changed after i play the video…help me plzz
picture 1 : 
picture 2 :
using UnityEngine;
using System.Collections;
public class eq1 : MonoBehaviour {
// Use this for initialization
private bool PopUp;
public string Info;
public MovieTexture movie_eq1;
void OnMouseDown()
{
PopUp = true;
}
void DrawInfo()
{
//Rect rect = new Rect (20,20, 600, 400);
Rect close = new Rect (800,20,20,20);
Rect play = new Rect (100, 360, 50, 25);
Rect pause = new Rect (150, 360, 50, 25);
Rect stop = new Rect (200, 360, 50, 25);
if (PopUp)
{
//content
GUI.Box(new Rect(20, 20, 800, 400), "Weigh Machine");
//GUI.Box(rect, Info);
GUI.DrawTexture(new Rect(30, 50, 400, 300), movie_eq1);
//playbutton
if (GUI.Button(play,"play"))
{
//Debug.Log("playvideo");
renderer.material.mainTexture = movie_eq1;
movie_eq1.Play();
}
//pause
if (GUI.Button(pause,"pause"))
{
renderer.material.mainTexture = movie_eq1;
movie_eq1.Pause();
}
//stopbutton
if (GUI.Button(stop,"stop"))
{
movie_eq1.Stop();
}
//guiTexture.texture.Play();
if (GUI.Button(close,"X"))
{
PopUp = false;
movie_eq1.Stop();
//Debug.Log("close");
}
}
}
void OnGUI()
{
DrawInfo();
}
}

help me plzz
– bobolat