I am trying to use TextEvent.LINK in an itemRenderer in a DataGrid to 
return live XML data via a link in htmlText.

I get:
*** Security Sandbox Violation ***
Connection to 'event:http://clark/flexmap/data/programs.php?
fullText=null&schoolID=null&clusterCode=null&awardClass=null halted - 
not permitted from file://C:\Documents and Settings\ssaline\My 
Documents\Flex Builder 2\MapProject\bin\MapProject13-debug.swf

I am able to this same call earlier in the application with no 
violation.

This is the URL:
<a href="'event:http://clark/flexmap/data/programs.php?
fullText=null&schoolID=null&clusterCode=null&awardClass=null"><u>Accou
ntant</u></a>

This is the Text component:
<mx:Text id="programLink3" selectable="true" 
htmlText="{data.programTitleFormatted}" width="250" 
creationComplete="this.addEventListener(TextEvent.LINK, 
outerDocument.specificProgramInfo);"/>

Any help would be greatly appreciated.
Sandy

Reply via email to