• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

SecurityError: Error #2000: No active security context.

LEGEND ,
Aug 19, 2011 Aug 19, 2011

Copy link to clipboard

Copied

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

TOPICS
ActionScript

Views

6.5K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Aug 19, 2011 Aug 19, 2011

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


Votes

Translate

Translate
Community Expert ,
Aug 19, 2011 Aug 19, 2011

Copy link to clipboard

Copied

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


Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 19, 2011 Aug 19, 2011

Copy link to clipboard

Copied

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!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 19, 2011 Aug 19, 2011

Copy link to clipboard

Copied

LATEST

you're welcome.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines