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
5
votes
2 answers
SecurityError: Error #2000: No active security context
I recently had this vague error happen to me with the use of LocalConnection.
It happened every time I tried to connect and send data to another swf.
Doing an internet search came up with little results pertaining to LocalConnection and this error…

The_asMan
- 6,364
- 4
- 23
- 34
5
votes
3 answers
Making a local connection between a mysql database and php
I already have the mysql database made, I just need to connect php to mysql locally but I don't know the php commands for that.
cheers

Audel
- 2,479
- 5
- 24
- 20
4
votes
0 answers
AIR LocalConnection in IE 10 Windows 8 not working
Microsoft recently done this update for flash in IE10
http://support.microsoft.com/kb/2758994
after which our product, that was working fine across all browser stopped working totally in IE10.
We have a flash WebUI which connects to Desktop AIR App…

user2166606
- 41
- 2
3
votes
2 answers
Error #2084-The AMF Encoding of the arguments cannot exceed 40K
In my application I am using localConnection object for communication b/w Flex 3 and Flex 4 swfs. But when the size of the arguments (ArrayCollection) exceeds certain limit , I am getting following exception:-
Error #2044: Unhandled…

Aditya
- 31
- 2
3
votes
2 answers
Avoiding LocalConnection's 40k size limit when data object may be larger than 40k
Flash's LocalConnection mechanism has a 40k size limit on individual messages passed to send(). I'm running into a situation where I have a complex object that I need to send which may end up being too large.
I can break up the object into multiple…

Herms
- 37,540
- 12
- 78
- 101
2
votes
1 answer
Why do MovieClipLoader events not fire when loaded into an AS3 wrapper?
While trying to answer this question: Call to an AS2 function from the AS3 container I have come across a roadblock. The setup is an AS3 SWF which loads an AS2 SWF, which in turn loads another AS2 SWF. Communication between the AS3 SWF and the…

shanethehat
- 15,460
- 11
- 57
- 87
2
votes
1 answer
LocalConnection between swf sending delay & LocalConnection sniffer tool
I experience a weird issue on a LocalConnections communication between 2 swf.
The first one (FLEX application) sends a message on a dedicated LocalConnection to a second one (Flash application). The Flash then answers by sending a message on another…

Jérémy Reynaud
- 3,020
- 1
- 24
- 36
2
votes
4 answers
Actionscript Error #2044: Unhandled SecurityErrorEvent:. text=Error #2047: Security sandbox violation: LocalConnection.send: 127.0.0.1 cannot access
When running flash components that use localConnection within an HTML container, I get the following error in a popup box (flash player is the debug version):
Error #2044: Unhandled SecurityErrorEvent:. text=Error #2047: Security sandbox violation:…

Eliram
- 606
- 2
- 9
- 21
2
votes
1 answer
AS3 LocalConnection asyncError
I'm working on implementing communication between an Adobe AIR app and a browser Flash object, and the LocalConnection documentation mentions an asyncError as a potential event:
asyncError: Dispatched when an exception is thrown asynchronously —…

Alan
- 1,148
- 1
- 9
- 17
2
votes
3 answers
How do LocalConnections in AS3 communicate?
I'm about to start using LocalConnections in a couple SWF's to let them talk to each other. But before I head down this road, I need to make sure it's not going to cause any popups and confirmation dialogs to appear from the system.
If I use a local…

scobi
- 14,252
- 13
- 80
- 114
2
votes
1 answer
As3 - LocalConnection between SWF and AIR desktop app
I need to send a text from an embedded SWF (Web browser) to an AIR based desktop app.
I did everything like explained in the documentation but I can't establish a connection.
Does anybody see what I did wrong or can point me to a working…

Uli
- 2,625
- 10
- 46
- 71
2
votes
2 answers
LocalConnection between different instances of the same SWF?
I'm building a simple audio player in AS3. I would like to embed multiple instance of this audio player in my html and when one's playing, others are paused. Is it possible to use LocalConnection to communicate between different instance of the same…

subb
- 1,578
- 1
- 15
- 27
2
votes
3 answers
Does localConnection in flash player randomly fail sometimes?
I have two flash movies communicating with each other using localConnection, passing an object from swfA to swfB. This seems to work fine, but will occasional fail. The only information we have is that the status event is fired with a level of…

slashnick
- 26,167
- 10
- 55
- 67
1
vote
2 answers
LocalConnection StatusEvent Error
I'm getting this error intermittently when attempting to call functions in a localconnection.
Error #2044: Unhandled StatusEvent:. level=error, code=
The "handled" output:
LocalConnection.send() failed [StatusEvent type="status" bubbles=false…

Stuart Saunders
- 37
- 1
- 9
1
vote
3 answers
AS3 LocalConnection Errors
Not sure where I'm going wrong, for now just trying this out locally. Thanks.
sendingLC.swf does return, LocalConnection.send() succeeded
This is the errors I get from Flash.
Error #2044: Unhandled AsyncErrorEvent:. text=Error #2095:…

Chuck
- 375
- 5
- 22