GUITexture dynamicaly created

I would like to create a dynamic number of guiTextures.

I receice a json with some information for my guiTextures : 3 textures, a color and 2 names. How can i buld and show an object like this and attach a script to it (i want to do something when is clicked). I came out with this :

var button=new GUITexture();
button.transform.position = new Vector3(0.5f ,0.9f, 1.0f);
button.texture = normalTex;

… but is not working. I assigned a texture to “normalTexture” but i cannot see my guiTexture when i build my player (i want it to work for the web). Ideas ?

After some searching i realize that i have to create a game object in order to attach a GUITexture to my screen.

This is my code :

var button : GameObject;
button =  new GameObject("AAAAA");
button.guiTexture.texture = normalTex;
button.transform.position = new Vector3(0.5f ,0.9f, 1.0f);