Question
problem of broadcastMsg()
my english is not good.sorry.
i'm read the Server-Side ActionScript Language Reference for Adobe Flash Media Interactive Server
to find out one Event to use in undermentioned Example
Example
The following server-side code sends a message to the client:
application.broadcastMsg("testMessage", "Hello World");
The following client-side code catches the message and outputs "Hello World":
nc = new NetConnection();
nc.testMessage = function(msg){
trace(msg);
};
it is used good in as2 but in as3 i can't find a addEventListener to receive "testMessage"
who can help me?
i'm read the Server-Side ActionScript Language Reference for Adobe Flash Media Interactive Server
to find out one Event to use in undermentioned Example
Example
The following server-side code sends a message to the client:
application.broadcastMsg("testMessage", "Hello World");
The following client-side code catches the message and outputs "Hello World":
nc = new NetConnection();
nc.testMessage = function(msg){
trace(msg);
};
it is used good in as2 but in as3 i can't find a addEventListener to receive "testMessage"
who can help me?
