2 Replies Latest reply on Mar 30, 2010 11:01 PM by ne_polle

    SecurityError 2123: ImageSnapshot.captureBitmapData(video)

    ne_polle Level 1



      Project compiled for Flash Player 9 and developed with Flex SDK 3.5


      I try to take snapshats from a rtmp video.


      I wrote a crossdomain.xml:


      <?xml version="1.0"?>
      <!DOCTYPE cross-domain-policy
      SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
        <site-control permitted-cross-domain-policies="all"/>
        <allow-access-from domain="*" />


      directly located in the folder where the swf is located.


      ActionScript Code in the init function:



      ActionScript Code in the function "when content.xml loaded":




          <flv url="rtmp://3p0.de/vod/Extremists"/>
          <flvUrl url="rtmp://3p0.de/vod/*"/>



      The rtmp video is located an a server I do not know.


      I just had to write a swf which manipulate the video.


      I loaded the project to a fileserver and tried it to run but I get the SecurityError (translated in english):

      BitmapData.draw: ..../my.swf couldn´t access to rtmp://3p0.de/vod/Extremists there are no security file which allow the access.


      Can someone help me?

      Is it possible to test the access from a fileserver?


      thanks and

      best regards