Local Connection is a communication method for synchronizing iFrames in same window. Due to cross-domain security limitations its a bit challenge to connect iframes. As long as all iframes served on same origin, same protocol and same port they can communicate with each other.
Questions tagged [localconnection]
57 questions
1
vote
0 answers
loading external movie as2 wrapper
Load AS2 SWF Into AS3 SWF and pass vars in URL
I'm trying to load in a as3 file an external as2 swf file (of which I dont have access to fla file). According to the explanation given in the link above, the solution would be to use a as2 wrapper to…

netNewbi3
- 279
- 6
- 20
1
vote
1 answer
Using Silverlight local connection mechanism from .NET application
Starting version 3.0, Silverlight offers a local connection API that can be used to communicatie between Silverlight applications running on the same machine.
I would like to use this mechanism from a full blown .NET application; a .NET receiver…

Thorarin
- 47,289
- 11
- 75
- 111
1
vote
1 answer
AS3 - LocalConnection between AIR master & SWF sender
I can not manage to use a local connection between a master file that's set for AIR and a slave file for FlashPlayer (regular SWF).
Here is the code of two test files ...
The master/receiver file :
// test-AIR.fla
import flash.display.Loader;
var…

Shiluba
- 31
- 4
1
vote
3 answers
What might cause connection errors when using bidirectional localConnection in Flash?
I'm trying to setup a bidirectional localConnection (LC) between two flash objects on the same web page. One object is AS2 and the other AS3.
I'm using one LC object to send and receive data on each swf. (This shouldn't matter, right? I tried using…

Eliram
- 606
- 2
- 9
- 21
1
vote
1 answer
Flash - LocalConnection between Projector file and SWF file
A long time ago I created two files called alpha.exe and bravo.swf. alpha and bravo communicate to each other using a localconnection. These files were created using Flash MX with AS1 and Flash Player 6 - they worked perfectly!
Now I am building new…

Actionman
- 13
- 5
1
vote
3 answers
(as3) Sync data between 3 or more identical flash objects on the same page
I have asked something similar before, but never go to the solution I need. So am starting a new stack to not confuse my issues, and to make a little clearer.
What I need to do
I have multiple flash objects on a html page, they are all identical,…

Andy
- 443
- 1
- 6
- 21
1
vote
1 answer
Strategy for making LocalConnection ids unique
I'm using a localconnection to allow communication between an actionscript 2 swf and an actionscript 3 swf.
Localconnection objects share a global namespace across a user's pc.
So, this means, a user can fire up my flash app in one browser, and…

Irwin
- 12,551
- 11
- 67
- 97
1
vote
5 answers
Why is my swf causing the Flash Player to crash
I've got a flex-based swf, which is loading an AS 2-based swf and then, negotiating further activity via a LocalConnection.
From time to time, the AS 2-swf can request that the flex-based swf load a movie.
I've arranged this via on(release){}…

Irwin
- 12,551
- 11
- 67
- 97
1
vote
1 answer
#2083 while trying to close localconnection
I am trying to close() localconnection when connect() fails. But while closing connection it giving me '#2083 close failed because object is not connected'.
Thanks in advance.
try{
connServer2Client.connect("_" + clientConnectionName);
}catch…

user1285835
- 21
- 3
0
votes
1 answer
Load as3 into as2 work only on _root
i made a simple test example in as2. This contains two buttons with the following handlers.
_root:
on (release)
{
this.loadMovie("AS3.swf");
}
_root.test.testmc:
on (release)
{
test.testmc.loadMovie("AS3.swf");
}
The AS3.swf…

Alex
- 127
- 2
- 12
0
votes
2 answers
LocalConnection and iframes
I'm trying get LocalConnection to work between two swf's placed within two different IFRAMES.
I've worked with LocalConnection often without too much trouble. But this time --i suspect because of the iframes--i can't get it to work.
Anybody…

sthg
- 1,137
- 3
- 13
- 32
0
votes
1 answer
What is the best way to handle refreshing a localConnection between AS3 and AS2 swfs using SWFBridge? (load, unload, load again)
I have an AS2 swf that is hosted by an AS3 swf and they connect using SWFBridge. During the course of things i need to unload the AS2 swf and reload it. Therefore I assume I need to re-establish the SWFBridge connection. But when I try to reopen the…

undefined
- 5,190
- 11
- 56
- 90
0
votes
1 answer
How can an AS3 swf hosting an AS2 swf share the same array?
I have an AS2 swf that has an array that is updated when a user clicks on items on the screen. The array stores the currently selected items. This As2 swf is hosted by an AS3 swf loaded in using Loader class and a local connection between them is…

undefined
- 5,190
- 11
- 56
- 90
0
votes
1 answer
How do I call a function in an AS2 swf hosted by an AS3 swf and return an array back to AS3 swf? (using SwfBridge)
I have a Flash CS4 AS3 swf (host) that loads a Flash 8 AS2 swf (client) using gSkinner's swfBridge.
This works great and the Host can call functions in the client no problem. However I want to be able to call a function in the client and have that…

undefined
- 5,190
- 11
- 56
- 90
0
votes
1 answer
Communication between two data grids
I am trying to make connection between two datagrid in two separate windows.
Until now, I am able to create a datagrid in one FLEX browser window but got stuck furthur.
On some click event in one of 1st datagrid row-column field value, (i.e…
user756611