Im new to Actionscript 3.. when i clicked the green circle it turns into red and i want it to stay that way?
Im new to Actionscript 3.. when i clicked the green circle it turns into red and i want it to stay that way but it wont saved.I dont know but the color wont saved help anyone?... but its flushing.
the instance name for the movie clip is green
heres the source code
var myS:SharedObject = SharedObject.getLocal("sdsds");
var my_color:ColorTransform = new ColorTransform();
my_color.color = 0xFF0000;
green.object = myS.data.me;
green.addEventListener(MouseEvent.CLICK... myClick);
function myClick (e:MouseEvent):void{
trace("I was clicked!");
green.transform.colorTransform = my_color;
trace(myS.flush());
}
trace(myS.data.me);
