title: AS3: Security sandbox violation
body: <p>I want to go live with my site.</p>
  
  <p>...but I need help with a security violation I am incurring.
  I've seen various threads on this forum regarding a crossdomain.xml file to include and link to, but I don't get it... no matter what I try I still end up with the same result.  You'll note below that it is <em>not</em> recommended to use crossdomain hacks.</p>
  
  <p>FWIW, this <em>only</em> happens when I export a release build...  I can load the php data w/out an issue in my debug/developing phase locally in Flex.</p>
  
  <p>What gives?  When I make a PHP based request for data I always get this error popping up:</p>
  
  <blockquote>
    <p>Error #2044: Unhandled securityError:.
    text=Error #2048: Security sandbox
    violation:
    <a href="http://alubow.com/jml_testing/viewable/alubow_project.swf" rel="nofollow noreferrer">http://alubow.com/jml_testing/viewable/alubow_project.swf</a>
    cannot load data from
    <a href="http://www.alubow.com/jml_testing/foldergrab.php?ipath=assets/bitmap/portrait_thumbs/&amp;tpath=assets/bitmap/portrait_imgs/" rel="nofollow noreferrer">http://www.alubow.com/jml_testing/foldergrab.php?ipath=assets/bitmap/portrait_thumbs/&amp;tpath=assets/bitmap/portrait_imgs/</a>.
      at utils.php::DirectoryReader()     at
    alubow_project/newScroller()  at
    alubow_project/mainClickOut()</p>
  </blockquote>
  
  <p>Is there code I need to add to get this to work? Do I need to configure the server I am using?
  I will need to go live with this site soon and these errors I am getting both locally and serverside (via a browser) are unacceptable.</p>
  
  <p>COULD THIS BE A PROBLEM WITH THE FLASH PLAYER I HAVE INSTALLED?
  I have the debugger version of flash player 10.</p>
  
  <p>jml</p>