-
Hi...
i`m working with a mc. This mc is the background...I change the color of it with button. I need that the mc respect the rgb in others scenes...
I change color of the mc in the first scene. When i go to the next scene it respect the rgb select but when i go to another scene the background mc get the default color..
button actionscript:
on (press) {
newColour = "blue";
a = new Color(fondo);
a.setRGB(0xff9900);
}
first frame of the scenes:
if (newColour == "blue") {
b = new Color(fondo_prog);
b.setRGB(0xff9900);
}
}
------------------------------
I set Rgb at first Scene. Then i go to second scene and the rgb is tha same that i select at first. But when go to next scene the rgb return to the defaul value...
Thanksss...