Select to view content in your preferred language

Can I embed the icons for the navigation widget?

823
2
11-07-2012 01:01 PM
stevemclaughlin
Occasional Contributor
How can I embed the icons for the navigation widget?  the config file looks like this,
and I'll like to embed the icons in the swf.

<?xml version="1.0" ?>
<configuration>
    <panwheel visible="true" fullexticon="i_globe.png"  />
    <prevextbutton visible="true"/>
    <nextextbutton visible="true"/>
    <panbutton visible="true" icon="i_pan.png" />
    <zoominbutton visible="true" icon="i_zoomin.png" />
    <zoomoutbutton visible="true" icon="i_zoomout.png" />
</configuration>
Tags (2)
0 Kudos
2 Replies
MarcinDruzgala
Frequent Contributor
http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Navigation_widget_tags/01m30000...
Did you try something like this?
 <zoomoutbutton visible="true" icon="assets/images/loader.swf"/>

Worked for me but as you can read in link I gave you, there is only support for PNG and GIF files. SWF files are working but it's not the best idea to put them there.

Cheers
MDruzgala
0 Kudos
stevemclaughlin
Occasional Contributor
Hi, sorry, I guess I wasn't clear enough, what I want to do is embed the resource in the deliverable,
something like this:

 icon="@Embed('i_zoomout.png')"
0 Kudos