Select to view content in your preferred language

MouseOver

1259
7
Jump to solution
07-19-2012 10:07 AM
ShaningYu
Honored Contributor
I borrow the code at http://help.arcgis.com/en/webapi/flex/samples/index.html#/InfoWindow_on_MouseOver/01nq0000001q000000... to use its MouseOver event on my application.   The code I added like that:
In Init(),   map.addChild(myTextArea);

<esri:infoWindowContent>
  <mx:TextArea id="myTextArea" width="250" height="75"/>
</esri:infoWindowContent>
But I got such an error:
Description Resource Path Location Type
Could not resolve <esri:infoWindowContent> to a component implementation.
Please provide your advice if you can.  Thanks.
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
AnthonyGiles
Honored Contributor
Which function are you using? If it is initialise try using creationcomplete

View solution in original post

0 Kudos
7 Replies
AnthonyGiles
Honored Contributor
Shanling,

Do you Have the following namespace line xmlns:esri="http://www.esri.com/2008/ags" in the top of your mxml?

Regards

Anthony
0 Kudos
AnthonyGiles
Honored Contributor
Shaning,

Do you Have the following namespace line xmlns:esri="http://www.esri.com/2008/ags" in the top of your mxml?

Regards

Anthony
0 Kudos
ShaningYu
Honored Contributor
xmlns:esri="http://www.esri.com/2008/ags"  is there.
0 Kudos
AnthonyGiles
Honored Contributor
Shaning,

How are you firing your init() function are you using the CreationComplete Or initialize function.

Anthony
0 Kudos
ShaningYu
Honored Contributor
Yes I did.
0 Kudos
AnthonyGiles
Honored Contributor
Which function are you using? If it is initialise try using creationcomplete
0 Kudos
ShaningYu
Honored Contributor
Could not remember how this prob. got solved.  In my thread cleanup, I would add this credential to Anthony.
0 Kudos