Alagu
Alagu

Reputation: 2854

Debugging Flash through via browser - Security Context Error

I am trying to use a browser to debug my flash app as it needs External Interface. But whenever I try to attach the Flex Debugger to the browser running Flash app, it shows

SecurityError: Error #2000: No active security context.

I already checked the other question with same title as my error but changing code is not the solution here as it is an existing code and I don't get this error while using a debug version or when I am not running connected to a debugger.

Upvotes: 0

Views: 1192

Answers (2)

gayatri.ramamurthi
gayatri.ramamurthi

Reputation: 41

In addition to the above solution, also check that the Flash Builder feature of Network Monitor is turned OFF, before you compile and run the app.

Upvotes: 1

The_asMan
The_asMan

Reputation: 6403

Make sure you are embedding correctly

allowscriptaccess = "sameDomain";
allownetworking = "all";

If that is set then make sure your crossdomain.xml is set up properly.

Upvotes: 0

Related Questions