|
Home > Archive > Macromedia Flash Server > May 2006 > call?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| erixuss 2006-05-19, 1:11 pm |
| Hi,
I have a small problem. I would like to call some action (for example
"trace(ok);") on second client by clicking button on the first client.
So, the first client call function on the server, but how this
function can call client that I wan't to call? For example:
there are 20 clients connected to server including me and my friend,
i want to call function
nc.hello = function ()
{
trace("hello");
};
only on my friends client.
how can I do that???
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
| |
| Bob Wohl 2006-05-24, 7:11 am |
| Sorry if this is a bit late, it's been a long weekend,
Pretty much the way you'd go about it is to pass a SO of the client you
want to receive matching it to the user's array. Basically the function
(your trace) would get hit only if that user's ID matches the SO sent.
I'd have to dig for the info/method for this since it's been a while
since I've worked on something like this. It's on another HD atm so I'll
have to grab it in the morning.
Bob
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of erixuss
Sent: Friday, May 19, 2006 6:46 AM
To: FlashComm Mailing List
Subject: [FlashComm] call?
Hi,
I have a small problem. I would like to call some action (for example
"trace(ok);") on second client by clicking button on the first client.
So, the first client call function on the server, but how this
function can call client that I wan't to call? For example:
there are 20 clients connected to server including me and my friend,
i want to call function
nc.hello = function ()
{
trace("hello");
};
only on my friends client.
how can I do that???
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
|
|
|
|
|