HI. i m try to use shared object but if i use MovieClip.loadMovie is not working so well
this is my example
#include "lmc_tween.as"
var so:SharedObject = SharedObject.getLocal("setbgcolor");
if (so.data.bgcolor != undefined) { setcolor(so.data.bgcolor);
}
function setcolor(color) {
_root.bg.colorTo(color, .4, "linear"); //HERE IS THE PROBLEM. IS NOT SAVING WHEN I LOAD IN ANOTHER MOVIECLIP
_root.cont.mc.colorTo(color, .4, "linear");
so.data.bgcolor = color;
so.flush();
}
cont.loadMovie("carga.swf");
my button script
on(press){
_root.setcolor(0x0000FF);
}
my bg movie clip who is loaded in my root, capture fine the values when close and open again the fla. But my movieclip who is loaded by loadMovie not got the same look.
Any possible solution for this guys
i appreciate a lot any help!
regards
aless