<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: HSmoothBox and VSmoothBox</title>
	<link>http://strawberrypixel.com/blog/2007/08/13/hsmoothbox-and-vsmoothbox/</link>
	<description>Free, open source, Adobe Flex components.</description>
	<pubDate>Fri, 30 Jul 2010 01:37:11 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Administrator</title>
		<link>http://strawberrypixel.com/blog/2007/08/13/hsmoothbox-and-vsmoothbox/#comment-1062</link>
		<dc:creator>Administrator</dc:creator>
		<pubDate>Sun, 27 Jul 2008 06:46:56 +0000</pubDate>
		<guid>http://strawberrypixel.com/blog/2007/08/13/hsmoothbox-and-vsmoothbox/#comment-1062</guid>
		<description>Thanks for the info,
The Repeater issue is something someone else posted about (http://strawberrypixel.com/blog/flex-components/#comments)
, unfourtunatly it is not supported yet (as you can see it is not actually a simple container inside). I will hopefully support it in the next release.
If you want to add components dynamically use the addScrollChild function externally (creationComplete or something) similar to what you posted. The BuildFromDataProvider is intended for dataProvider &lt;-&gt; itemRenderer pattern only.</description>
		<content:encoded><![CDATA[<p>Thanks for the info,<br />
The Repeater issue is something someone else posted about (http://strawberrypixel.com/blog/flex-components/#comments)<br />
, unfourtunatly it is not supported yet (as you can see it is not actually a simple container inside). I will hopefully support it in the next release.<br />
If you want to add components dynamically use the addScrollChild function externally (creationComplete or something) similar to what you posted. The BuildFromDataProvider is intended for dataProvider < -> itemRenderer pattern only.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: imtiyaz</title>
		<link>http://strawberrypixel.com/blog/2007/08/13/hsmoothbox-and-vsmoothbox/#comment-1056</link>
		<dc:creator>imtiyaz</dc:creator>
		<pubDate>Sat, 26 Jul 2008 12:51:57 +0000</pubDate>
		<guid>http://strawberrypixel.com/blog/2007/08/13/hsmoothbox-and-vsmoothbox/#comment-1056</guid>
		<description>Hi,

While working with your component I faced these issues.

1. I can't add components using Repeater in it, At last its a container, why is not happening.
2. I can't add childs dynamically through action script.

I can add component using data provider to it, and need to mention ItemRenderer.
Why so ? Can't I add different components to it.

So, I did a small work around I don't exactly know in which case it will break your code, but for know its working fine.
here is the code.
protected function buildFromDataProvider():void
			{
				itemContainer.removeAllChildren();
				for(var i:int=0;i&#60;calcMaxItemScrollBy();i++)
				{
				   if(dataProvider[i] == null)
						throw new Error("your trying to add null object, which not supported");
				   if(_dataProvider[i].height == 0)
						throw new Error("please mention the height of component");
				   if(_dataProvider[i].width == 0)
						throw new Error("please mention the width of component");
					
				
					addScrollChild(dataProvider[i],false);
				}
				//invalidate list
				invalidateScrollList();
			}


Regards,
Imtiyaz</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>While working with your component I faced these issues.</p>
<p>1. I can&#8217;t add components using Repeater in it, At last its a container, why is not happening.<br />
2. I can&#8217;t add childs dynamically through action script.</p>
<p>I can add component using data provider to it, and need to mention ItemRenderer.<br />
Why so ? Can&#8217;t I add different components to it.</p>
<p>So, I did a small work around I don&#8217;t exactly know in which case it will break your code, but for know its working fine.<br />
here is the code.<br />
protected function buildFromDataProvider():void<br />
			{<br />
				itemContainer.removeAllChildren();<br />
				for(var i:int=0;i&lt;calcMaxItemScrollBy();i++)<br />
				{<br />
				   if(dataProvider[i] == null)<br />
						throw new Error(&#8221;your trying to add null object, which not supported&#8221;);<br />
				   if(_dataProvider[i].height == 0)<br />
						throw new Error(&#8221;please mention the height of component&#8221;);<br />
				   if(_dataProvider[i].width == 0)<br />
						throw new Error(&#8221;please mention the width of component&#8221;);</p>
<p>					addScrollChild(dataProvider[i],false);<br />
				}<br />
				//invalidate list<br />
				invalidateScrollList();<br />
			}</p>
<p>Regards,<br />
Imtiyaz</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eran Argaman, Flex Componentor &#187; containerEx v1.02 and v1.3.2 available (flex 2/ flex 3)</title>
		<link>http://strawberrypixel.com/blog/2007/08/13/hsmoothbox-and-vsmoothbox/#comment-47</link>
		<dc:creator>Eran Argaman, Flex Componentor &#187; containerEx v1.02 and v1.3.2 available (flex 2/ flex 3)</dc:creator>
		<pubDate>Sat, 08 Mar 2008 07:54:27 +0000</pubDate>
		<guid>http://strawberrypixel.com/blog/2007/08/13/hsmoothbox-and-vsmoothbox/#comment-47</guid>
		<description>[...] to the downlads page to get it. sample usage applications here, http://strawberrypixel.com/blog/flex-components/#hsmoothbox [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] to the downlads page to get it. sample usage applications here, <a href="http://strawberrypixel.com/blog/flex-components/#hsmoothbox" rel="nofollow">http://strawberrypixel.com/blog/flex-components/#hsmoothbox</a> [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eran Argaman, Flex Componentor &#187; Blog Archive &#187; containerEx Libray v1.0.1 available (HSmoothBox, VSmoothBox)</title>
		<link>http://strawberrypixel.com/blog/2007/08/13/hsmoothbox-and-vsmoothbox/#comment-6</link>
		<dc:creator>Eran Argaman, Flex Componentor &#187; Blog Archive &#187; containerEx Libray v1.0.1 available (HSmoothBox, VSmoothBox)</dc:creator>
		<pubDate>Thu, 30 Aug 2007 17:08:14 +0000</pubDate>
		<guid>http://strawberrypixel.com/blog/2007/08/13/hsmoothbox-and-vsmoothbox/#comment-6</guid>
		<description>[...] exposed now). go to the downlads page to get it. Also updated the sample usage applications here, http://strawberrypixel.com/blog/flex-components/#hsmoothbox [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] exposed now). go to the downlads page to get it. Also updated the sample usage applications here, <a href="http://strawberrypixel.com/blog/flex-components/#hsmoothbox" rel="nofollow">http://strawberrypixel.com/blog/flex-components/#hsmoothbox</a> [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Administrator</title>
		<link>http://strawberrypixel.com/blog/2007/08/13/hsmoothbox-and-vsmoothbox/#comment-5</link>
		<dc:creator>Administrator</dc:creator>
		<pubDate>Sat, 25 Aug 2007 14:04:41 +0000</pubDate>
		<guid>http://strawberrypixel.com/blog/2007/08/13/hsmoothbox-and-vsmoothbox/#comment-5</guid>
		<description>Hi all,
Feel free to post comments, questions, bugs, requests...
I will try to be as responsive as I can.
I'd appreciate some feedback.

Cheers
</description>
		<content:encoded><![CDATA[<p>Hi all,<br />
Feel free to post comments, questions, bugs, requests&#8230;<br />
I will try to be as responsive as I can.<br />
I&#8217;d appreciate some feedback.</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.244 seconds -->
