<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Forums - ArcGIS API for Flex - LabelOptions refreshing when zooming in?</title>
		<link>http://forums.arcgis.com/</link>
		<description />
		<language>en</language>
		<lastBuildDate>Wed, 19 Jun 2013 12:05:03 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>5</ttl>
		<image>
			<url>http://forums.arcgis.com/images/misc/rss.png</url>
			<title>Forums - ArcGIS API for Flex - LabelOptions refreshing when zooming in?</title>
			<link>http://forums.arcgis.com/</link>
		</image>
		<item>
			<title>LabelOptions refreshing when zooming in?</title>
			<link>http://forums.arcgis.com/threads/86938-LabelOptions-refreshing-when-zooming-in?goto=newpost</link>
			<pubDate>Wed, 19 Jun 2013 02:26:19 GMT</pubDate>
			<description><![CDATA[This is my dynamic LabelOptions: 
 
Code: 
--------- 
<esri:LabelOptions  
 
alpha="{alphaTransparency.value}" 
color="{color.selectedColor}"...]]></description>
			<content:encoded><![CDATA[<div>This is my dynamic LabelOptions:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">&lt;esri:LabelOptions <br />
<br />
alpha=&quot;{alphaTransparency.value}&quot;<br />
color=&quot;{color.selectedColor}&quot;<br />
fontFamily=&quot;{fontFamily.selectedItem}&quot;<br />
&nbsp;fontSize=&quot;{fontSize.value}&quot;<br />
fontStyle=&quot;{fontStyle.selectedItem}&quot;<br />
fontWeight=&quot;{fontWeight.selectedItem}&quot;<br />
haloAlpha=&quot;{haloAlpha.value}&quot;<br />
&nbsp;haloColor=&quot;{haloColor.selectedColor}&quot;<br />
haloSize=&quot;{haloSize.value}&quot;<br />
/&gt;</code><hr />
</div> <br />
Which gets set by a user from my form I present in a widget: e.g<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">&lt;s:FormItem label=&quot;Alpha:&quot;&gt;<br />
<br />
&lt;s:HSlider id=&quot;alphaTransparency&quot;<br />
&nbsp;width=&quot;100%&quot;<br />
&nbsp;change=&quot;setLabelOptions()&quot;<br />
&nbsp;liveDragging=&quot;true&quot;<br />
maximum=&quot;1&quot;<br />
minimum=&quot;0&quot;<br />
stepSize=&quot;0.1&quot;<br />
&nbsp;value=&quot;1&quot;/&gt;<br />
&lt;/s:FormItem&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&lt;s:FormItem label=&quot;Colour:&quot;&gt;<br />
<br />
&lt;mx:ColorPicker id=&quot;color&quot;<br />
change=&quot;setLabelOptions()&quot;<br />
selectedColor=&quot;0x333333&quot;/&gt;<br />
&lt;/s:FormItem&gt;</code><hr />
</div> when I zoom in it grabs all of the LabelOptions again, meaning my form is only useful for one layer, as changing the form options for a second layer will change it for my first layer too when I zoom.<br />
<br />
I would like to be able to set the LabelOptions for one layer and make them final, and choose a second layer LabelOptions which will not alter my first?<br />
<br />
Can anyone think of any solutions? <br />
- A dynamic form?<br />
-Zooming only changing the labelsize and not all of labeloptions?</div>

 ]]></content:encoded>
			<category domain="http://forums.arcgis.com/forums/18-ArcGIS-API-for-Flex">ArcGIS API for Flex</category>
			<dc:creator>Joe990</dc:creator>
			<guid isPermaLink="true">http://forums.arcgis.com/threads/86938-LabelOptions-refreshing-when-zooming-in</guid>
		</item>
	</channel>
</rss>
