Workaround solution: Make certain no Apollo applications are running.
I discovered that if I have any Apollo-authored application running
at the same time my Flash 8 projector application is running it
breaks any LocalConnection connection attempts. This took me days to
figure out, as I have an Apollo helper application always running.
This is kind of ironic, as it was the inability to easily package my
Flash 8 application in Apollo that drove me to using the
LocalConnection method.
Steve
On 2007-05-03, at 1:41 PM, Stephen Downs wrote:
I'm having a tough time getting a simple LocalConnection connection
working.
Scenario: Flash 8, AS 2, two separate Flash projectors.
Procedure:
1) Projector A starts LocalConnection.connect.
2) Projector A opens Projector B via fscommand.
3) Project B initializes, then starts LocalConnection.send using
connectionName from step A. No arguments are sent.
4) Nothing happens, no onStatus calls are triggered either on the
LocalConnection instance or at the System level. The method does
not get called. Both connect and send calls return true.
This is all occurring on the localhost sandbox, so I'm pretty sure
I don't have to deal with security shenanigans. The code is all
contained in static singleton classes, so the LocalConnection
objects are class properties.
I'm probably overlooking something, but my brain is frazzled from
fiddling with this for the last five hours. Thanks in advance for
any insights or suggestions.
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com