Results 1 to 3 of 3

Thread: Security Sandbox Violation, Error #2028

  1. #1

    Default Security Sandbox Violation, Error #2028

    I have following very simple action script 3 code

    var nc:NetConnection = new NetConnection(); 
    ..when debugging flash I get the following very annoying error:

    *** Security Sandbox Violation ***
    Connection to rtmp://localhost/SOtest2 halted - not permitted from file:///C|/wamp/www/SOtest2/SOtest2.swf
    -- Untrusted local SWFs may not contact the Internet.
    SecurityError: Error #2028: Local-with-filesystem SWF file file:///C|/wamp/www/SOtest2/SOtest2.swf cannot access Internet URL rtmp://localhost/SOtest2.
    at SOtest2_fla::MainTimeline/frame1()[SOtest2_fla.MainTimeline::frame1:3]
    Cannot display source code at this location.
    Other projects doesn´t give me the same error when debugging. I think it possibly started to appear when i upgraded to a new version of flash (11.7.700).
    If I publish the project it seems to work normally and I see that I'm connecting to the Wowza server in the server log.

    Does anyone of you have an idea what the problem is? How could it be that some files are affected and some are not?

  2. #2
    Join Date
    Dec 2007

  3. #3

    Default The problem was that..

    Sorry for the duplicate post. The problem was that I had set the publish settings parameter "Local playback security" to "Access localfiles only" when changed to "Access network only" the problem disappeared.

Similar Threads

  1. Error #2123: Security sandbox violation: BitmapData.draw
    By fibarra in forum Video On Demand Streaming Discussion
    Replies: 4
    Last Post: 05-30-2012, 01:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts