côté qui fait appelle :
- boutonEnvoyer.addEventListener(MouseEvent.MOUSE_OVER, afficherCadre);
function afficherCadre(pEvent:MouseEvent):void{
var myLocalConnection:LocalConnection = new LocalConnection();
myLocalConnection.send("lc_name", "methodToExecuteBoutonEnvoyer");
myLocalConnection.addEventListener(StatusEvent.STATUS , statusHandler);
function statusHandler(e:StatusEvent):void
{ }
}
côté qui revoit l'appelle:
- var incoming_lc:LocalConnection = new LocalConnection();
function methodToExecuteBoutonEnvoyer():void{
trace("ça fonctionne");
}
incoming_lc.connect("lc_name");
en principe j'aurais un message "ça fonctionne" mais je n'est aucun résultat.
quelqu'1 à une solution?