private function expandAll(item:TocItem):void
{
item.collapsed = false;
_toc.expandChildrenOf(item, true);
if(item.isGroupLayer()){
for each (var item2:TocItem in item.children){
expandAll(item2);
}
}
}Hi Robert,
I am using v 2.5 of your TOC. I have written some html in my layer description in ArcMap, then published it as a service. I want to include hyperlinks in the Details/Description window. See attached screen shot.
My html code is [HTML]<p>For more information, go to: <a href="http://www.oregon.gov/DOGAMI/pages/earthquakes/coastal/tsumaps.aspx" target="_blank"><span style="color:#FFD700">OREGON.gov</span></a></p>[/HTML]
I want to change the hyperlink color to gold, but it's not coming through the swf. file and retains the default blue for the hyperlink. I assume I need to recompile the TOC widget. Do you know where it the DetailsWindow.mxml I can change the default hyperlink
color? Thanks so much.
<usenewesridescription>false</usenewesridescription>