Select to view content in your preferred language

Icons for "select parcels"

890
3
Jump to solution
02-17-2012 01:02 PM
N_Young
Deactivated User
Hi.  I'm trying to use the Select Parcels sample with my data.  I'm just getting errors with the icons: such as "unable to resolve 'assets/i_draw_freeline.png' for transcoding."  I couldn't find the location of these icons on the web.  What can I do?  Thanks.

EDIT: Actually it is the "Simplify Geometries" sample found here.

 <mx:ToggleButtonBar id="tbb"       itemClick="tbb_itemClickHandler(event)"       labelField="null"       selectedIndex="-1"       toggleOnClick="true">      <fx:Object icon="@Embed(source='assets/i_draw_line.png')" label="POLYLINE"/>   <fx:Object icon="@Embed(source='assets/i_draw_freeline.png')" label="FREEHAND_POLYLINE"/>   <fx:Object icon="@Embed(source='assets/i_draw_poly.png')" label="POLYGON"/>   <fx:Object icon="@Embed(source='assets/i_draw_freepoly.png')" label="FREEHAND_POLYGON"/>   <fx:Object icon="@Embed(source='assets/i_draw_rect.png')" label="EXTENT"/>   <fx:Object icon="@Embed(source='assets/i_draw_circle.png')" label="CIRCLE"/>   <fx:Object icon="@Embed(source='assets/i_draw_ellipse.png')" label="ELLIPSE"/>  </mx:ToggleButtonBar>
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
N Young,

   This assets are part of the Flex API download.

http://resources.arcgis.com/content/arcgis-flex-api-how-to-download

and can be found in this folder:
arcgis_api_for_flex_2_5\ArcGIS_Flex\samples\src\assets

Don't forget to click the Mark as answer check and to click the top arrow (promote) as shown below:

View solution in original post

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus
N Young,

   This assets are part of the Flex API download.

http://resources.arcgis.com/content/arcgis-flex-api-how-to-download

and can be found in this folder:
arcgis_api_for_flex_2_5\ArcGIS_Flex\samples\src\assets

Don't forget to click the Mark as answer check and to click the top arrow (promote) as shown below:
0 Kudos
N_Young
Deactivated User
Great, thanks for pointing that out.  So do I need to put them online and link it to the icon, or just take out the @Embed part and put in the folder path for the location on my computer?  I'll start testing...

Original Code:
<fx:Object icon="@Embed(source='assets/i_draw_line.png')" label="POLYLINE"/>
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
N. Young,

   You need to have an assets folder under your src folder in Flash Builder and have the image there.
0 Kudos