0 Replies Latest reply on Feb 13, 2009 6:24 AM by WintrowBN

    Odd Security Sandbox Violation while scrolling

      Hello, everyone!

      I have set up the following:
      - an ArrayCollection with information on about a thousand different items, marked as Bindable
      - a TileList that uses the ArrayCollection as a DataProvider
      - an ItemRenderer that dynamically loads an external image from a webserver, according to certain elements in the ArrayCollection; this ItemRenderer is coupled to the aforementioned TileList

      Everything works quite fine when the program starts: all images are displayed okay, I can scroll up and down (using the ScrollBar's thumb), the TileList displays updated images - all spiffy up to here.
      Now, as soon as I click the ScrollBar's track, the Console Window shows multiple Security Sandbox Violations, saying "Security Domain ' http://blablabla/crossdomain.xml" tried to access incompatible context "app:/main.swf"

      "crossdomain.xml" contains this text:

      <?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="*"/>

      Continuous scrolling with this error leads to program freeze.
      This behaviour strikes my as excessively strange, since scrolling between elements using the ScrollBar's thumb (leading to a delta of over 10 as checked using the ScrollEvent.delta property) should not be significantly different from scrolling via clicking the ScrollBar's track (leading to a delta of 2 exactly).

      What am I doing wrong? Is this a bug? Can somebody relate and/or help me solve this problem?

      Thanks in advance,