views:

810

answers:

1

I'm using localConnection in AS3 to allow several flash applications to interact with a central application. (Some are AS2, some AS3).

The central application must use a seperate localConnection variable for each receiving connection (otherwise the second app that tries to connect will be rejected).

But what about sending messages back?

Is it better to have the main application use a single localConnection to send messages to all the other applications, or should I assign a LC variable per target? (Since I specify the target anyway in the .send command)

1 Door for all of the messages to exit or 1 door per message target? Which is better and why?

+1  A: 

It would seem more organised to communicate with each Flash application separately, although I think it will work either way.

Iain