Copy link to clipboard
Copied
Hi Mate
Error #2044: Unhandled SecurityErrorEvent:. text=Error #2047: Security sandbox violation: LocalConnection.send: sample.net cannot access http://www.sample.net/sample/main.swf.
How do solve this error problem, as3 localconnection error display.
Thanks
Hi,
This will help you
Adobe Help says:
When two SWF files from different domains communicate, you need to allow communication between the two domains by calling the
allowDomain() method. You also need to qualify the connection name in the
send() method with the receiving LocalConnection object's domain name
Copy link to clipboard
Copied
Hi,
This will help you
Adobe Help says:
When two SWF files from different domains communicate, you need to allow communication between the two domains by calling the
allowDomain() method. You also need to qualify the connection name in the
send() method with the receiving LocalConnection object's domain name
Copy link to clipboard
Copied
Thanks for your help full reply.
Copy link to clipboard
Copied
hai friend
give example
Copy link to clipboard
Copied
What if the two swf's are in the same domain? I have one loaded into another swf and I am getting the #2044 error as well. I have u2.swf as my main swf and u3.swf is loaded into that one.
When I run only u3.swf i get this message at the end of movie play.
Error #2044: Unhandled StatusEvent:. level=error, code=
When I run u2.swf i get this messages only when I try to play u3.swf again before it finishes.
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at u3_fla::MainTimeline/frame100()
Any help possible?
Copy link to clipboard
Copied
Hi,
Variable scope may be the problem.
Hope this link will give a solution.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more