I create two movie to communicate 2 movies. First movie instuct secondwhat to do. I setup both movies with actionscript from help section. And output window always show up this error:
lcReceiver.myMethod is not a valid property of that class (LocalConnection)
var lcSender:LocalConnection=new LocalConnection();
lcSender.send("conn","myMethod",5);
lcReceiver:LocalConnection=new LocalConnection();
lcReceiver.myMethod=function(intBla:Number){
txtName.text=intBla;
}
lcReceiver.connect("conn");
Seems there is problem with dynamic class(Local Connection is not a dynamic class). Suggestion…