“SecurityError: Error #3015: Loader.loadBytes() is not permitted to load content with executable code.”

In the last month I thought Adobe had protect the loadBytes method from the loader so that only “regular” files like mp3, jpg, etc could be loaded, lots of good library’s like Benjamin Dobler wav reader stop working. What I think it is that in last version of flash player Adobe turn allowLoadBytesCodeExecution to false. If you see Adobe documentation they have written “Note: This API is likely to be replaced in a future release of AIR.” If anyone knows what really happen let me know. Now the good part, to solve that is simple, you only need to set allowLoadBytesCodeExecution to true.

2 Responses to ““SecurityError: Error #3015: Loader.loadBytes() is not permitted to load content with executable code.””

  1. derRaab Says:

    Thank’s for this information! I used and mentioned it here: http://blog.derraab.com/2008/06/17/select-and-access-local-swf-files-within-an-air-application/

    Kind regards

  2. boo Says:

    this?

    http://blog.washingtonpost.com/securityfix/2008/05/exploit_inthewild_patch_your_f.html

Leave a Reply