<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Programatically add constraints through Actionscript</title>
	<atom:link href="http://www.rogue-development.com/blog2/2007/05/programatically-add-constraints-through-actionscript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rogue-development.com/blog2/2007/05/programatically-add-constraints-through-actionscript/</link>
	<description>Comments and thoughts on technology from Marc Hughes</description>
	<pubDate>Wed, 07 Jan 2009 00:23:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Deepa Subramaniam</title>
		<link>http://www.rogue-development.com/blog2/2007/05/programatically-add-constraints-through-actionscript/#comment-5</link>
		<dc:creator>Deepa Subramaniam</dc:creator>
		<pubDate>Mon, 07 May 2007 17:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://rogue-development.com/blog2/?p=10#comment-5</guid>
		<description>Whoops, that should say: &lt;br/&gt;someComponent.setStyle("horizontalCenter", 0);</description>
		<content:encoded><![CDATA[<p>Whoops, that should say: <br />someComponent.setStyle(&#8221;horizontalCenter&#8221;, 0);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deepa Subramaniam</title>
		<link>http://www.rogue-development.com/blog2/2007/05/programatically-add-constraints-through-actionscript/#comment-4</link>
		<dc:creator>Deepa Subramaniam</dc:creator>
		<pubDate>Mon, 07 May 2007 17:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://rogue-development.com/blog2/?p=10#comment-4</guid>
		<description>Styles can be set in any number of ways in Flex - through an CSS stylesheet, in an mx:Style block, through the style manager and also with the setStyle() method provided on every UIComponent. So your example can be simplified even further to:&lt;br/&gt;&lt;br/&gt;var someComponent:SomeComponent = new SomeComponent();&lt;br/&gt;someComponent.setStyle('top', 10);&lt;br/&gt;style.setStyle("horizontalCenter", 0); &lt;br/&gt;&lt;br/&gt;and voila, your component will relayout anchored appropriately. &lt;br/&gt;&lt;br/&gt;Deepa Subramaniam&lt;br/&gt;Adobe Flex SDK</description>
		<content:encoded><![CDATA[<p>Styles can be set in any number of ways in Flex - through an CSS stylesheet, in an mx:Style block, through the style manager and also with the setStyle() method provided on every UIComponent. So your example can be simplified even further to:</p>
<p>var someComponent:SomeComponent = new SomeComponent();<br />someComponent.setStyle(&#8217;top&#8217;, 10);<br />style.setStyle(&#8221;horizontalCenter&#8221;, 0); </p>
<p>and voila, your component will relayout anchored appropriately. </p>
<p>Deepa Subramaniam<br />Adobe Flex SDK</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.rogue-development.com/blog2/2007/05/programatically-add-constraints-through-actionscript/#comment-3</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Mon, 07 May 2007 08:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://rogue-development.com/blog2/?p=10#comment-3</guid>
		<description>The UIComponent Class has a setStyle method which you can call directly.&lt;br/&gt;Take a look at:&lt;br/&gt;http://livedocs.adobe.com/flex/201/html/styles_069_23.html#253161</description>
		<content:encoded><![CDATA[<p>The UIComponent Class has a setStyle method which you can call directly.<br />Take a look at:<br /><a href="http://livedocs.adobe.com/flex/201/html/styles_069_23.html#253161" rel="nofollow">http://livedocs.adobe.com/flex/201/html/styles_069_23.html#253161</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
