3 Replies Latest reply on Jul 25, 2008 4:30 PM by ntsiii

    Sandbox Security Issue

      here's the message I get when I click on a link in a textbox:

      *** Security Sandbox Violation ***
      Connection to TextEvent:Safing Sensor halted - not permitted from app:/StoryboardPlayer.swf
      -- This is due to the value of 'allowNetworking'.

      Here's the situation: Its an AIR app that reads in an xml file and populates standard text and image controls. Some of the xml data is html formatted links:

      <p>Click on the links below for more information about the types of crash sensors.</p>
      </p><p><li><a href='TextEvent:Safing Sensor'><font color='#0000FF'><u>Safing Sensor</u></font></a></li><li>
      <a href='TextEvent:Impact Sensors'><font color='#0000FF'><u>Front Impact Severity and Side Impact Sensors</u></font></a></li></p>]]>

      this gets placed into a Textbox:

      <mx:Text x="10" y="10" width="752" id="full" enabled="true" fontSize="12" fontFamily="Arial" leading="0" resize="true" link="linkHandler(event)"/>

      The TextEvent gets picked up by a listener:

      private function linkHandler(event:TextEvent):void {
      subtopic = event.text;

      Yesterday this worked, verified by seeing the trace. Today I get the message shown at the beginning of this post. I don't know why. Anybody have any ideas?