<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: The VBox</title>
	<atom:link href="http://www.addicted2flash.com/2009/05/the-vbox/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.addicted2flash.com/2009/05/the-vbox/</link>
	<description>tim richter</description>
	<lastBuildDate>Wed, 20 Oct 2010 17:19:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<item>
		<title>By: tim</title>
		<link>http://www.addicted2flash.com/2009/05/the-vbox/comment-page-1/#comment-61</link>
		<dc:creator>tim</dc:creator>
		<pubDate>Sun, 28 Mar 2010 15:20:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.addicted2flash.com/?p=476#comment-61</guid>
		<description>hi shrikant,

the HBox has a field &lt;code&gt;display&lt;/code&gt; which is of type &lt;code&gt;Sprite&lt;/code&gt;, so you can add any display object to it (and of course remove it). Hope this was useful. If not, please be a bit more precise.

regards
tim</description>
		<content:encoded><![CDATA[<p>hi shrikant,</p>
<p>the HBox has a field <code>display</code> which is of type <code>Sprite</code>, so you can add any display object to it (and of course remove it). Hope this was useful. If not, please be a bit more precise.</p>
<p>regards<br />
tim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shrikant</title>
		<link>http://www.addicted2flash.com/2009/05/the-vbox/comment-page-1/#comment-60</link>
		<dc:creator>Shrikant</dc:creator>
		<pubDate>Thu, 25 Mar 2010 05:55:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.addicted2flash.com/?p=476#comment-60</guid>
		<description>Hi Tim,
i want to embed a .swc file and then remove it from the display at the tick of an event. i am using hBox is flex to embed the source. Can i do the same using HBox ?</description>
		<content:encoded><![CDATA[<p>Hi Tim,<br />
i want to embed a .swc file and then remove it from the display at the tick of an event. i am using hBox is flex to embed the source. Can i do the same using HBox ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Richardson</title>
		<link>http://www.addicted2flash.com/2009/05/the-vbox/comment-page-1/#comment-50</link>
		<dc:creator>Simon Richardson</dc:creator>
		<pubDate>Mon, 12 Oct 2009 19:45:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.addicted2flash.com/?p=476#comment-50</guid>
		<description>Hi tim, 

Cheers for the response. I&#039;m a big fan of the new DisplayObject ecapsulation, spotted that straight away, makes perfect sense. 

Cheers
Simon</description>
		<content:encoded><![CDATA[<p>Hi tim, </p>
<p>Cheers for the response. I&#8217;m a big fan of the new DisplayObject ecapsulation, spotted that straight away, makes perfect sense. </p>
<p>Cheers<br />
Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tim</title>
		<link>http://www.addicted2flash.com/2009/05/the-vbox/comment-page-1/#comment-49</link>
		<dc:creator>tim</dc:creator>
		<pubDate>Thu, 08 Oct 2009 07:54:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.addicted2flash.com/?p=476#comment-49</guid>
		<description>Hi Simon,

you are right. I just removed these methods. There are not needed anymore. I have implemented an validation mechanism based on the &lt;code&gt;Stage.RENDER&lt;/code&gt; event, so all components are just arranged at a frame, when flash will repaint the screen. This mechanism is therefore asynchron and you can now invoke add/remove or set properties of the components multiple times and there will only be &lt;strong&gt;one&lt;/strong&gt; invalidation (measure/arrange in component).

Another change was to encapsulate the &lt;code&gt;DisplayObject&lt;/code&gt; from the &lt;code&gt;Component&lt;/code&gt; itself. Every component has a explicit getter for &lt;code&gt;display&lt;/code&gt; (an &lt;code&gt;Sprite&lt;/code&gt;) now.</description>
		<content:encoded><![CDATA[<p>Hi Simon,</p>
<p>you are right. I just removed these methods. There are not needed anymore. I have implemented an validation mechanism based on the <code>Stage.RENDER</code> event, so all components are just arranged at a frame, when flash will repaint the screen. This mechanism is therefore asynchron and you can now invoke add/remove or set properties of the components multiple times and there will only be <strong>one</strong> invalidation (measure/arrange in component).</p>
<p>Another change was to encapsulate the <code>DisplayObject</code> from the <code>Component</code> itself. Every component has a explicit getter for <code>display</code> (an <code>Sprite</code>) now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Richardson</title>
		<link>http://www.addicted2flash.com/2009/05/the-vbox/comment-page-1/#comment-48</link>
		<dc:creator>Simon Richardson</dc:creator>
		<pubDate>Sat, 03 Oct 2009 08:21:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.addicted2flash.com/?p=476#comment-48</guid>
		<description>Hi tim, 

It did indeed fulfill my requirements. Worked like a charm ;-)

I like then new features as well (good to see the framework is always evolving), but I notice lock and unlock has vanished. Are they ever coming back, because I will just remove from my code if they&#039;ve gone.

Out of interest why did they disappear ?

Cheers
Simon</description>
		<content:encoded><![CDATA[<p>Hi tim, </p>
<p>It did indeed fulfill my requirements. Worked like a charm <img src='http://www.addicted2flash.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>I like then new features as well (good to see the framework is always evolving), but I notice lock and unlock has vanished. Are they ever coming back, because I will just remove from my code if they&#8217;ve gone.</p>
<p>Out of interest why did they disappear ?</p>
<p>Cheers<br />
Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tim</title>
		<link>http://www.addicted2flash.com/2009/05/the-vbox/comment-page-1/#comment-47</link>
		<dc:creator>tim</dc:creator>
		<pubDate>Wed, 30 Sep 2009 17:01:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.addicted2flash.com/?p=476#comment-47</guid>
		<description>Hi Simon,

thanks for your comment. Please take a look at the FlowBox, perhaps it will fulfill your needs.</description>
		<content:encoded><![CDATA[<p>Hi Simon,</p>
<p>thanks for your comment. Please take a look at the FlowBox, perhaps it will fulfill your needs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Richardson</title>
		<link>http://www.addicted2flash.com/2009/05/the-vbox/comment-page-1/#comment-45</link>
		<dc:creator>Simon Richardson</dc:creator>
		<pubDate>Wed, 23 Sep 2009 19:19:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.addicted2flash.com/?p=476#comment-45</guid>
		<description>Nice to see a simple lightweight layout framework. Would be great as a feature request is to have float items. By this I mean, set a desired width on a VBox and then fill it full of components, if these components are smaller than the desired width and fits another component next to it, then display them inline. Bit like how CSS when you float left and display inline. 

I thinking of extending the class to enable this, but the VBox has BoxLayout hardcoded in the constructor. So I guess I could make a VBoxInline (or another name ;-)) so I can swap out the layout.

I didn&#039;t really want to start messing about with the code, although if / when I get around to it I will push it to you to see if it could be incorporated as it should be quite clean and tidy (hopefully!)</description>
		<content:encoded><![CDATA[<p>Nice to see a simple lightweight layout framework. Would be great as a feature request is to have float items. By this I mean, set a desired width on a VBox and then fill it full of components, if these components are smaller than the desired width and fits another component next to it, then display them inline. Bit like how CSS when you float left and display inline. </p>
<p>I thinking of extending the class to enable this, but the VBox has BoxLayout hardcoded in the constructor. So I guess I could make a VBoxInline (or another name <img src='http://www.addicted2flash.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> ) so I can swap out the layout.</p>
<p>I didn&#8217;t really want to start messing about with the code, although if / when I get around to it I will push it to you to see if it could be incorporated as it should be quite clean and tidy (hopefully!)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

