Select to view content in your preferred language

PopupText in Flex Viewer 3.0

1286
5
Jump to solution
05-08-2012 09:22 AM
SonyaCowper
Emerging Contributor
Just wondering if anyone else is having issues with PopupText no longer working in 3.0.  If so has anyone fixed those errors?  Right now I am getting an error importing this com.esri.ags.skins.supportClasses.PopupText.  The error is 1172:definition com.esri.ags.skins.supportClasses:PopUpText could not be found.  Anyone know where it went? 

Thank you
S
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Sonya,

   To get past that error you need to comment out this line in the IdentifyWidget.mxml

popUpRenderer.setStyle("skinClass", Class(widgets.Identify.PopUpRendererSkin));


and delete Identify.PopUpRendererSkin.mxml for the Identify folder.

View solution in original post

0 Kudos
5 Replies
RobertScheitlin__GISP
MVP Emeritus
Sonya,

   Flex Viewer 3.0 Pre Release require AGS Flex API 3.0 Pre Release (make sure you are not trying to use 3.0 beta API).

Don't forget to click the Mark as answer check on this post and to click the top arrow (promote).
Follow the steps as shown in the below graphic:
0 Kudos
SonyaCowper
Emerging Contributor
Thank you Robert.  I did double checked and I am using the Prelease API that I downloaded from GitHub.  I even have the agslib-3.0pre-2012-03-15.swc.  Just not sure what the problem is.  Any other suggestions?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Sonya,

  Are you saying that you are having issue with the out of the box viewer with no modifications? PopUpText.as has been removed from the API in 3.0 and there should be no references to it in the 3.0 pre release viewer.
0 Kudos
SonyaCowper
Emerging Contributor
You caught me! 😉  The PreRelease of 3.0 works great without modification. 

I am trying to add your identify widget and I'm getting stuck on the PopupText.  Fixed the other errors, but that one didn't go away.  I know that you said that it was only for 2.5 Viewer, but I thought I'd give it a go and see if I could get it working in 3.0, but got stuck.  Just thought I would see if anyone else had issues with PopupText in the 3.0.  I should have been more straightforward.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Sonya,

   To get past that error you need to comment out this line in the IdentifyWidget.mxml

popUpRenderer.setStyle("skinClass", Class(widgets.Identify.PopUpRendererSkin));


and delete Identify.PopUpRendererSkin.mxml for the Identify folder.
0 Kudos