Shared Objects are used to store data on the client machine in much the same way that data is stored in a cookie created through a web browser. The data can only be read by movies originating from the same domain that created the Shared Object.
Lo que quiere decir que si las peliculas estan en el mismo dominio, tienen que poder compartir datos, asi es que lo que estoy tratando de hacer debería funcionar(no?).
El script que uso es el siguiente:
en set.fla/boton set:
Código :
on(press){
var so:SharedObject;
so = SharedObject.getLocal("sarlanga");
so.data.sarlanga = "ZAPATANGA";
_root.ta.text+= "variable SARLANGA.data.sarlanga = "+so.data.sarlanga+"\n";
_root.ta.text+=so.data.sarlanga;
so.flush();
}en get.fla/boton get:
Código :
on(press){
_root.ta.text += "recuperando variable sarlanga \n";
so = SharedObject.getLocal("sarlanga");
//so.data.sarlanga = "ZAPATANGA!!";
_root.ta.text += "variable so.data.sarlanga = "+so.data.sarlanga+"\n";
}Ven algo que se me este pasando? o entendi mal el technote?
link al technotes que consulte:
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_16194
Saludos!!!
