InfoWindow As MapTips

618
5
11-22-2010 10:53 AM
CynthiaMatney
New Contributor
Hello.  I'm new to Flex and trying to use the Flex Sample "InfoWindow as MapTips".  I want to be able to roll over parcels and info about each parcel show up (w/o clicking).  On the sample there are two tabs of .mxml.  The first one says to include the com/esri/ags/samples/InfoWindowRollOverContent.mxml 

http://help.arcgis.com/en/webapi/flex/samples/index.html

My question is - where do I put that information?

Any help would be greatly appreciated.

Thanks!
Cynthia
Tags (2)
0 Kudos
5 Replies
DasaPaddock
Esri Regular Contributor
The com/esri/ags/samples folder structure goes in your project's src folder. See the folder structure under "samples" when you unzip the API download.
0 Kudos
CynthiaMatney
New Contributor
So I come up with this error:
"The prefix "samples" for element "samples:InfoWindowRollOverContent" is not bound". 

I don't know what that means. 

It's referring to this particular line of code:
<samples:InfoWindowRollOverContenct id="content"/>

What am I doing wrong now?

Thanks!
0 Kudos
DasaPaddock
Esri Regular Contributor
See this line at the top of the sample:
xmlns:samples="com.esri.ags.samples.*"

http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=InfoWindowRollOverSample
0 Kudos
CynthiaMatney
New Contributor
I actually had that part added at one time - but must have taken it out.  So now that error is gone but now I'm getting this error:

"1046 : Type was not found or was nota  compile-time constant:InfoWindowRollOverContent"

This is once again referring to the following code:

<samples:InfoWindowRollOverContent id="content"/>
0 Kudos
GeraldLee__GISP
Occasional Contributor
i would like to do this as well but i dont have flex builder. i have just been "stealing" the compiled widgets and customizing them. is there a way to do that with this functionality or do i need flexbuilder to accomplish this?
thanks alot
Gerald
0 Kudos