LiveConnect AS question

Out of context: Reply #4

  • Started
  • Last post
  • 5 Responses
  • ********
    0

    Just used this in a project:

    sending:

    outgoing_lc = new LocalConnection();
    outgoing_lc.send("lc_name", "methodToExecute", "whatever");
    delete outgoing_lc;

    receiving:

    incoming_lc = new LocalConnection();
    incoming_lc.methodToExecute = function (param) {
    received from the sending movie
    if(param=="whatever"){
    play();
    incoming_lc = null;
    delete incoming_lc;
    }
    }
    incoming_lc.connect("lc_name");

View thread