** Function =() & Scene **

I have a movie with a number of scenes…
On the home scene there are a number of movie buttons that take you to different scenes…

From those scenes you can return to the home scene… the problem is that when I attach the below code to the home scene… The buttons will take you to a different scene, but when you return to home, they stop working…

How is this code affecting the buttons, why do they work the first time you visit the scene, but then not when returning…

removing this code solves the problem, but I won’t a work around, but as I dont know what the problem is I carn’t figure it out…

Any ideas ???

[AS]
t1 = new Color(_root.t1);

myColorTransform = new Object();
myColorTransform = {ra: random(100) , ga: random(100) , ba: random(100) , aa: ‘100’ };

_root.bb.onPress = function(){

myColorTransform = {ra: random(100) , ga: random(100) , ba: random(100) , aa: ‘100’ };

t1.setTransform(myColorTransform);
}
[/AS]