<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for The proof of concepts blog</title>
	<atom:link href="http://proofofconcepts.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://proofofconcepts.wordpress.com</link>
	<description>my Dev playground</description>
	<lastBuildDate>Tue, 03 Nov 2009 17:30:16 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Skinning Flex HSLider component. part II by AdamH</title>
		<link>http://proofofconcepts.wordpress.com/2009/02/06/skinning-flex-hslider-component-part-ii/#comment-84</link>
		<dc:creator>AdamH</dc:creator>
		<pubDate>Tue, 03 Nov 2009 17:30:16 +0000</pubDate>
		<guid isPermaLink="false">http://proofofconcepts.wordpress.com/?p=53#comment-84</guid>
		<description>I am trying to emulate your custom dataTip but I cannot get the valuesArray to actually show up. Can you help me? In my main app I have created an array with the appropriate values (numbers from 0.01 to 0.09), but they will not show up in the dataTip even though the slider has its &quot;values&quot; property bound to the array.

my code:

package com.customUIComponent.slider.sprites
{
	import flash.display.Sprite;
	import flash.text.TextField;
	import flash.text.TextFieldAutoSize;
	import flash.text.TextFormat;

	public class CustomDataTipSprite extends Sprite
	{
		private var lbl:TextField;
		private var bkgColor:uint = 0x000000;
		private var bkgAlpha:Number = .3;
		
		private var textColor:uint = 0x000000;
		
		public function CustomDataTipSprite()
		{
			super();
			lbl = new TextField();
			drawShape();
			drawText();
		}
		
		private function drawText():void{
			lbl.x = 3;
			lbl.y = 0;
			lbl.autoSize = TextFieldAutoSize.CENTER;
			lbl.background = false;
			lbl.border = false;
			
			var format:TextFormat = new TextFormat();
			format.font = &quot;Verdana&quot;;
			format.color = textColor;
			format.size = 9;
			format.underline = false;
			
			lbl.defaultTextFormat = format;
			addChild(lbl);
		}
		
		private function drawShape():void
		{
			var CsdataTip:Sprite = new Sprite();
			with (CsdataTip.graphics){
				beginFill(bkgColor, bkgAlpha);
				lineTo(10,0);
				lineTo(15,-6);
				lineTo(20,0);
				lineTo(30,0);
				curveTo(40,7.5,30,15);
				lineTo(0,15);
				curveTo(-10,7.5,0,0);
				endFill();
			}
			addChild(CsdataTip);
			CsdataTip.x = 8;
			CsdataTip.y = 0;	
		}
		
		public function setValue(v:String):void{
			lbl.text = v;
		}
	}
}</description>
		<content:encoded><![CDATA[<p>I am trying to emulate your custom dataTip but I cannot get the valuesArray to actually show up. Can you help me? In my main app I have created an array with the appropriate values (numbers from 0.01 to 0.09), but they will not show up in the dataTip even though the slider has its &#8220;values&#8221; property bound to the array.</p>
<p>my code:</p>
<p>package com.customUIComponent.slider.sprites<br />
{<br />
	import flash.display.Sprite;<br />
	import flash.text.TextField;<br />
	import flash.text.TextFieldAutoSize;<br />
	import flash.text.TextFormat;</p>
<p>	public class CustomDataTipSprite extends Sprite<br />
	{<br />
		private var lbl:TextField;<br />
		private var bkgColor:uint = 0&#215;000000;<br />
		private var bkgAlpha:Number = .3;</p>
<p>		private var textColor:uint = 0&#215;000000;</p>
<p>		public function CustomDataTipSprite()<br />
		{<br />
			super();<br />
			lbl = new TextField();<br />
			drawShape();<br />
			drawText();<br />
		}</p>
<p>		private function drawText():void{<br />
			lbl.x = 3;<br />
			lbl.y = 0;<br />
			lbl.autoSize = TextFieldAutoSize.CENTER;<br />
			lbl.background = false;<br />
			lbl.border = false;</p>
<p>			var format:TextFormat = new TextFormat();<br />
			format.font = &#8220;Verdana&#8221;;<br />
			format.color = textColor;<br />
			format.size = 9;<br />
			format.underline = false;</p>
<p>			lbl.defaultTextFormat = format;<br />
			addChild(lbl);<br />
		}</p>
<p>		private function drawShape():void<br />
		{<br />
			var CsdataTip:Sprite = new Sprite();<br />
			with (CsdataTip.graphics){<br />
				beginFill(bkgColor, bkgAlpha);<br />
				lineTo(10,0);<br />
				lineTo(15,-6);<br />
				lineTo(20,0);<br />
				lineTo(30,0);<br />
				curveTo(40,7.5,30,15);<br />
				lineTo(0,15);<br />
				curveTo(-10,7.5,0,0);<br />
				endFill();<br />
			}<br />
			addChild(CsdataTip);<br />
			CsdataTip.x = 8;<br />
			CsdataTip.y = 0;<br />
		}</p>
<p>		public function setValue(v:String):void{<br />
			lbl.text = v;<br />
		}<br />
	}<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Skinning Flex HSLider component. part II by Caspar</title>
		<link>http://proofofconcepts.wordpress.com/2009/02/06/skinning-flex-hslider-component-part-ii/#comment-83</link>
		<dc:creator>Caspar</dc:creator>
		<pubDate>Mon, 12 Oct 2009 21:57:44 +0000</pubDate>
		<guid isPermaLink="false">http://proofofconcepts.wordpress.com/?p=53#comment-83</guid>
		<description>@Jim - perhaps you should pay Guillaume to do it then.</description>
		<content:encoded><![CDATA[<p>@Jim &#8211; perhaps you should pay Guillaume to do it then.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Skinning a Flex Slider by Guillaume</title>
		<link>http://proofofconcepts.wordpress.com/2008/07/17/skinning-a-flex-slider/#comment-82</link>
		<dc:creator>Guillaume</dc:creator>
		<pubDate>Mon, 07 Sep 2009 07:18:15 +0000</pubDate>
		<guid isPermaLink="false">http://proofofconcepts.wordpress.com/?p=19#comment-82</guid>
		<description>I dug, quite a lot, in Adobe&#039;s classes and found weird things regarding some methods scope...
But my understanding of the Flex component skinning is that Adobe only want you to use your own methods/behaviour and not override the default ones.
That&#039;s the point of:
trackSkin
sliderThumbClass
...etc.</description>
		<content:encoded><![CDATA[<p>I dug, quite a lot, in Adobe&#8217;s classes and found weird things regarding some methods scope&#8230;<br />
But my understanding of the Flex component skinning is that Adobe only want you to use your own methods/behaviour and not override the default ones.<br />
That&#8217;s the point of:<br />
trackSkin<br />
sliderThumbClass<br />
&#8230;etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Skinning a Flex Slider by ali</title>
		<link>http://proofofconcepts.wordpress.com/2008/07/17/skinning-a-flex-slider/#comment-81</link>
		<dc:creator>ali</dc:creator>
		<pubDate>Mon, 07 Sep 2009 02:38:32 +0000</pubDate>
		<guid isPermaLink="false">http://proofofconcepts.wordpress.com/?p=19#comment-81</guid>
		<description>very good

I wanted to make a custom HSlider component derivating from Adobe&#039;s one but I faced a silly issue

private function createBackgroundTrack():void
private function createHighlightTrack():void
private function createThumbs():void

Everything is private, that&#039;s really stupid in a &quot;flexible&quot; framework, it should be protected in order to let you users inherit and access properties by inheritance.
What do they smoke at Adobe ?
Now I have to copy the whole class and modify the visibility of those methods just to change those 3 functions and set the height value to the BackgroundTrack component.

Silly, no perfectly stupid...</description>
		<content:encoded><![CDATA[<p>very good</p>
<p>I wanted to make a custom HSlider component derivating from Adobe&#8217;s one but I faced a silly issue</p>
<p>private function createBackgroundTrack():void<br />
private function createHighlightTrack():void<br />
private function createThumbs():void</p>
<p>Everything is private, that&#8217;s really stupid in a &#8220;flexible&#8221; framework, it should be protected in order to let you users inherit and access properties by inheritance.<br />
What do they smoke at Adobe ?<br />
Now I have to copy the whole class and modify the visibility of those methods just to change those 3 functions and set the height value to the BackgroundTrack component.</p>
<p>Silly, no perfectly stupid&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Skinning Flex HSLider component. part II by Jim</title>
		<link>http://proofofconcepts.wordpress.com/2009/02/06/skinning-flex-hslider-component-part-ii/#comment-80</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Fri, 21 Aug 2009 06:40:13 +0000</pubDate>
		<guid isPermaLink="false">http://proofofconcepts.wordpress.com/?p=53#comment-80</guid>
		<description>Hi ,I am using a Flex vslider with double thumb.I need a flex code which will change slider body color in such a fashion so that slider portion below lower thumb will show red color,above upper thumb will show green color and portion between two thumb will show orange color.</description>
		<content:encoded><![CDATA[<p>Hi ,I am using a Flex vslider with double thumb.I need a flex code which will change slider body color in such a fashion so that slider portion below lower thumb will show red color,above upper thumb will show green color and portion between two thumb will show orange color.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Skinning Flex HSLider component. part II by RichardB</title>
		<link>http://proofofconcepts.wordpress.com/2009/02/06/skinning-flex-hslider-component-part-ii/#comment-79</link>
		<dc:creator>RichardB</dc:creator>
		<pubDate>Thu, 20 Aug 2009 15:29:33 +0000</pubDate>
		<guid isPermaLink="false">http://proofofconcepts.wordpress.com/?p=53#comment-79</guid>
		<description>Very helpful. I found that you get rid of the triangle if you set the thumbSkin to null, and don&#039;t call super.updateDisplayList in the subclass to SliderThumb.

I am a novice to this though and its very possible that this is a very stupid solution...</description>
		<content:encoded><![CDATA[<p>Very helpful. I found that you get rid of the triangle if you set the thumbSkin to null, and don&#8217;t call super.updateDisplayList in the subclass to SliderThumb.</p>
<p>I am a novice to this though and its very possible that this is a very stupid solution&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Skinning a Flex Slider by Nick Garland</title>
		<link>http://proofofconcepts.wordpress.com/2008/07/17/skinning-a-flex-slider/#comment-78</link>
		<dc:creator>Nick Garland</dc:creator>
		<pubDate>Thu, 16 Jul 2009 16:30:29 +0000</pubDate>
		<guid isPermaLink="false">http://proofofconcepts.wordpress.com/?p=19#comment-78</guid>
		<description>I am attempting to use your &quot;skin&quot; for two thumbs, but I am having trouble getting the proper new datatip. It seems to think there is only one thumb and will pick up where the last thumb left off, rather than incrementing based on the location on the track (the default datatip works properly). Can you offer any pointers straight away for working with two thumbs?

Also, I am trying to induce the new datatip to display on default and remain displayed without any user interaction, but i am having some issues with that, too.

Any help would be much appreciated.

Thanks,
Nick</description>
		<content:encoded><![CDATA[<p>I am attempting to use your &#8220;skin&#8221; for two thumbs, but I am having trouble getting the proper new datatip. It seems to think there is only one thumb and will pick up where the last thumb left off, rather than incrementing based on the location on the track (the default datatip works properly). Can you offer any pointers straight away for working with two thumbs?</p>
<p>Also, I am trying to induce the new datatip to display on default and remain displayed without any user interaction, but i am having some issues with that, too.</p>
<p>Any help would be much appreciated.</p>
<p>Thanks,<br />
Nick</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Skinning a Flex Slider by Paul</title>
		<link>http://proofofconcepts.wordpress.com/2008/07/17/skinning-a-flex-slider/#comment-77</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Wed, 15 Jul 2009 02:43:20 +0000</pubDate>
		<guid isPermaLink="false">http://proofofconcepts.wordpress.com/?p=19#comment-77</guid>
		<description>Thanks for this information. 

You may be interested in another approach I found which uses a custom image to replace the slider thumb: 

http://blog.flexexamples.com/2007/09/12/changing-a-slider-controls-thumb-skin/</description>
		<content:encoded><![CDATA[<p>Thanks for this information. </p>
<p>You may be interested in another approach I found which uses a custom image to replace the slider thumb: </p>
<p><a href="http://blog.flexexamples.com/2007/09/12/changing-a-slider-controls-thumb-skin/" rel="nofollow">http://blog.flexexamples.com/2007/09/12/changing-a-slider-controls-thumb-skin/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Skinning a Flex Slider by Patrick Kiernan</title>
		<link>http://proofofconcepts.wordpress.com/2008/07/17/skinning-a-flex-slider/#comment-74</link>
		<dc:creator>Patrick Kiernan</dc:creator>
		<pubDate>Mon, 06 Jul 2009 13:52:39 +0000</pubDate>
		<guid isPermaLink="false">http://proofofconcepts.wordpress.com/?p=19#comment-74</guid>
		<description>Hi Guillaume,

Thanks for trying that.

I put your example in another file it works fine however unfortunately this is not working in my application. It is located here:
http://www.redbrick.dcu.ie/~hoss/flex/CarouselWS.mxml

If you can shed any light on this I&#039;d appreciate it.

Thanks,
Patrick</description>
		<content:encoded><![CDATA[<p>Hi Guillaume,</p>
<p>Thanks for trying that.</p>
<p>I put your example in another file it works fine however unfortunately this is not working in my application. It is located here:<br />
<a href="http://www.redbrick.dcu.ie/~hoss/flex/CarouselWS.mxml" rel="nofollow">http://www.redbrick.dcu.ie/~hoss/flex/CarouselWS.mxml</a></p>
<p>If you can shed any light on this I&#8217;d appreciate it.</p>
<p>Thanks,<br />
Patrick</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Skinning a Flex Slider by Guillaume</title>
		<link>http://proofofconcepts.wordpress.com/2008/07/17/skinning-a-flex-slider/#comment-73</link>
		<dc:creator>Guillaume</dc:creator>
		<pubDate>Mon, 06 Jul 2009 13:38:32 +0000</pubDate>
		<guid isPermaLink="false">http://proofofconcepts.wordpress.com/?p=19#comment-73</guid>
		<description>Hi Patrick,
That&#039;s weird... I made a quick test in order to populate tooltip data into an array (that should be quite the same behavior than what you are try to have)
Here I used &#039;anotherArray&#039; as tooltip dataprovider
[sourcecode language=&#039;java&#039;]
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot; 
	layout=&quot;absolute&quot; backgroundGradientAlphas=&quot;[1.0, 1.0]&quot; backgroundGradientColors=&quot;[#353535, #353535]&quot; 
	viewSourceURL=&quot;srcview/index.html&quot; xmlns:textInput=&quot;com.GuN.UI.customUIComponent.textInput.*&quot; 
	creationComplete=&quot;init()&quot;
	&gt;
[...]
var arrayValues:Array = [&quot;null&quot;,&quot;January &#039;08&quot;, &quot;February &#039;08&quot;, &quot;March &#039;08&quot;, &quot;April &#039;08&quot;, &quot;May &#039;08&quot;, &quot;June &#039;08&quot;, &quot;July &#039;08&quot;, &quot;August &#039;08&quot;,
										&quot;September &#039;08&quot;, &quot;October &#039;08&quot;, &quot;November &#039;08&quot;, &quot;December &#039;08&quot;];

[Bindable] public var anotherArray:Array = new Array();
        
        public function init():void{
        	anotherArray = new Array();
        	for each(var s:String in arrayValues){
        		anotherArray.push(s);
        	}
        }

&lt;mx:HSlider x=&quot;10&quot; y=&quot;107&quot;
		id=&quot;s&quot;
		showDataTip=&quot;false&quot;
		values=&quot;{anotherArray}&quot;
		creationComplete=&quot;{s.value=1}&quot;
		snapInterval=&quot;1&quot;
		minimum=&quot;1&quot;
		maximum=&quot;{arrayValues.length-1}&quot;
		liveDragging=&quot;true&quot;
		trackSkin=&quot;{SliderTrack}&quot;
		
		sliderThumbClass=&quot;{CSpSliderThumb}&quot;
	
		 width=&quot;502&quot;/&gt;

[/sourcecode]

And everything works fine, I can see all the tooltips.</description>
		<content:encoded><![CDATA[<p>Hi Patrick,<br />
That&#8217;s weird&#8230; I made a quick test in order to populate tooltip data into an array (that should be quite the same behavior than what you are try to have)<br />
Here I used &#8216;anotherArray&#8217; as tooltip dataprovider</p>
<pre class="brush: java;">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;
	layout=&quot;absolute&quot; backgroundGradientAlphas=&quot;[1.0, 1.0]&quot; backgroundGradientColors=&quot;[#353535, #353535]&quot;
	viewSourceURL=&quot;srcview/index.html&quot; xmlns:textInput=&quot;com.GuN.UI.customUIComponent.textInput.*&quot;
	creationComplete=&quot;init()&quot;
	&gt;
[...]
var arrayValues:Array = [&quot;null&quot;,&quot;January '08&quot;, &quot;February '08&quot;, &quot;March '08&quot;, &quot;April '08&quot;, &quot;May '08&quot;, &quot;June '08&quot;, &quot;July '08&quot;, &quot;August '08&quot;,
										&quot;September '08&quot;, &quot;October '08&quot;, &quot;November '08&quot;, &quot;December '08&quot;];

[Bindable] public var anotherArray:Array = new Array();

        public function init():void{
        	anotherArray = new Array();
        	for each(var s:String in arrayValues){
        		anotherArray.push(s);
        	}
        }

&lt;mx:HSlider x=&quot;10&quot; y=&quot;107&quot;
		id=&quot;s&quot;
		showDataTip=&quot;false&quot;
		values=&quot;{anotherArray}&quot;
		creationComplete=&quot;{s.value=1}&quot;
		snapInterval=&quot;1&quot;
		minimum=&quot;1&quot;
		maximum=&quot;{arrayValues.length-1}&quot;
		liveDragging=&quot;true&quot;
		trackSkin=&quot;{SliderTrack}&quot;

		sliderThumbClass=&quot;{CSpSliderThumb}&quot;

		 width=&quot;502&quot;/&gt;
</pre>
<p>And everything works fine, I can see all the tooltips.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
