I have tweaked the Identify widget a bit a couple versions ago (2.3) and have upgraded these changes along the way (2.3.1 & 2.4) With 2.5, I'm getting 2 errors and I'm hoping someone may possibly be able to assist me. This code works fine in 2.4, but in 2.5 I get 2 errors in FB: 1) Expecting identifier before rightparen 2) expecting rightbrace before if
Looks like all the braces and parens are in the proper spot.
Here's the code:
//Start Code
if (lyrList.links != undefined) {
var linksList:XMLList = configXML..links.link;
for (var x:Number = 0; x < linksList.length(); x++)
{
lyrLinks.push(
{
title: String(linksList.@title),
icon: String(linksList.@icon),
url: String(linksList)
}
);
}
}
//End added code
Thanks
Eric