Select to view content in your preferred language

Icon Not Display

1574
7
07-20-2010 10:40 AM
ShaningYu
Honored Contributor
I used ESRI's Flexviewer template.  For aun unknown reason, the icons in the ChartWidget as well as others don't display (see attached).  I actually did not touch the source code.  Anyone knows how to fix it?  Thanks.
Tags (2)
0 Kudos
7 Replies
RobertScheitlin__GISP
MVP Emeritus
Shaning,

   This happen every once in a while all you need to do is copy
i_draw_rect.png
i_draw_poly.png
i_clear.png

from the src/com/esri/solutions/flexviewer/assets/images/icons

to the bin-debug/com/esri/solutions/flexviewer/assets/images/icons folder
0 Kudos
ShaningYu
Honored Contributor
But all of the icons exist in the bin-debug/com/esri/solutions/flexviewer/assets/images/icons folder.  Should I sstill do the copy and mpaste?  Thanks.
0 Kudos
ShaningYu
Honored Contributor
Robert:
Tried but no effect.  Any idea?  Thanks.
Shaning
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Shaning,

   Are you running from the bin-release then? make sure they exist there as well.
0 Kudos
ShaningYu
Honored Contributor
No.  Running the \...\Flexviewer1.3\bin-debug\index.html
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Shaning,

   That is the only reason I can think of that the icons would not appear...
0 Kudos
ShaningYu
Honored Contributor
Relacing exisitng
<mx:Image click="{activateSearchTool(Draw.EXTENT)}" source="com/esri/solutions/flexviewer/assets/images/icons/i_draw_rect.png" useHandCursor="true" buttonMode="true" toolTip="{rectangleLabel}" width="40" height="40"/>
By
<mx:Button id="img1" click="{activateSearchTool(Draw.EXTENT)}" icon="@Embed(source='com/esri/solutions/flexviewer/assets/images/icons/i_draw_rect.png')" useHandCursor="true"  buttonMode="true" toolTip="{rectangleLabel}" width="40" height="40"/>
0 Kudos