Skip to main content
sinious
Legend
August 19, 2011
Answered

SecurityError: Error #2000: No active security context.

  • August 19, 2011
  • 1 reply
  • 6975 views

I'm getting this error intermittenly when I'm testing a web project locally:

SecurityError: Error #2000: No active security context.

I -think- it's an issue loading an image but the trace statements clearly show it's being loaded, report the correct dimensions, etc. I have it looking for both Event.COMPLETE and IOErrorEvent.IO_ERROR sniffing and Event.COMPLETE loads just fine. However the image is never displayed.

Certainly could be another part of the code but the error seems very general. Anyone have any idea what it really means? I thought as I tested that choosing a local sandbox would choose a security context.

Thanks for any tips

This topic has been closed for replies.
Correct answer kglad

i've only seen that if there's an incorrect path/name to a to-be-loaded file.


1 reply

kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
August 19, 2011

i've only seen that if there's an incorrect path/name to a to-be-loaded file.


sinious
siniousAuthor
Legend
August 19, 2011

This was actually firing off for just that reason. I'm adding a new feature to something that's thousands of lines of as3 and didn't see one invalid usage of a string turning up an 'undefined' in the middle of a file path.

I was too focused on where I 'thought' it was to press ctrl+shift+enter..

Thanks!

kglad
Community Expert
Community Expert
August 19, 2011

you're welcome.