So, you can have multiple swfs listening to a single swf, but you
cannot
have a single swf listen to multiple swfs.
The best analogy I can think of is a radio station.
A radio station can transmit its signal to all its listeners. But, the
radio station can only receive calls from one listener
The dispatcher doesn't need to know it's a unique ID. It just sends a
unique ID which is then picked up by the listener.
So, let's say you have 5 swfs listening to channel Rock. They all
want to hear Rock, but they also need to hear advertising to their local
area. So, you would pass a unique
So, you can have multiple swfs listening to a single swf, but you cannot
have a single swf listen to multiple swfs.
I'm not sure if I understood your thought here Steven, but with Xray, can do
this right now with logging. Xray is listening for several SWF's to send
logging data. You just can't
: [Flashcoders] LocalConnection to multiple swfs
So, you can have multiple swfs listening to a single swf, but you
cannot
have a single swf listen to multiple swfs.
I'm not sure if I understood your thought here Steven, but with Xray,
can
do
this right now with logging. Xray is listening for several
Wait, you and I are saying the same thing.
I can broadcast on as many channels as I want but I can't have a
LocalConnection listen to more than the channel you pass it in the
connect method.
LC = new LocalConnection():
LC.connect(channelA);
If you call
LC.connect(channelB);
It disconnects
have them register with the dispatcher and receive a unique ID, that
way you can target updates to specific listeners.
On 03/07/06, Danny Kodicek [EMAIL PROTECTED] wrote:
can they all
connect to the same LocalConnection object?
No. For every connection (send and receive) there must be a
have them register with the dispatcher and receive a unique ID, that
way you can target updates to specific listeners.
Does that work across multiple swfs? How can the dispatcher know what is a
unique id?
Actually, at the moment it looks like I can drop localConnections
altogether, which I
If I've got several swfs running locally (through Director), can they all
connect to the same LocalConnection object? I'm having a lot of problems
getting this working in one-to-one connections because LocalConnections seem
to be asynchronous, and it occurs to me that having a simple pair of
can they all
connect to the same LocalConnection object?
No. For every connection (send and receive) there must be a
localconnection object.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
can they all
connect to the same LocalConnection object?
No. For every connection (send and receive) there must be a
localconnection object.
Damn. Okay, trying some alternative ideas now...
Danny
___
Flashcoders@chattyfig.figleaf.com
To change
10 matches
Mail list logo