<?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: How to Make Charts with Flex 3</title>
	<atom:link href="http://buildinternet.com/2008/12/introduction-to-charts-with-flex-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://buildinternet.com/2008/12/introduction-to-charts-with-flex-3/</link>
	<description>Web Design, Development, and Business</description>
	<lastBuildDate>Wed, 08 Feb 2012 22:59:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Os 45 tutoriais de Adobe Flex mais procurados &#124; Galaxyz do Brasil</title>
		<link>http://buildinternet.com/2008/12/introduction-to-charts-with-flex-3/comment-page-1/#comment-32699</link>
		<dc:creator>Os 45 tutoriais de Adobe Flex mais procurados &#124; Galaxyz do Brasil</dc:creator>
		<pubDate>Fri, 13 Jan 2012 21:27:32 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=273#comment-32699</guid>
		<description>[...] 09º Como fazer gráficos no Flex [...]</description>
		<content:encoded><![CDATA[<p>[...] 09º Como fazer gráficos no Flex [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hasitha</title>
		<link>http://buildinternet.com/2008/12/introduction-to-charts-with-flex-3/comment-page-1/#comment-32543</link>
		<dc:creator>hasitha</dc:creator>
		<pubDate>Fri, 30 Dec 2011 08:25:04 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=273#comment-32543</guid>
		<description>this is great  tutorial,thank u very much for sharing your knowledge with us</description>
		<content:encoded><![CDATA[<p>this is great  tutorial,thank u very much for sharing your knowledge with us</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: crestwood preschool</title>
		<link>http://buildinternet.com/2008/12/introduction-to-charts-with-flex-3/comment-page-1/#comment-32210</link>
		<dc:creator>crestwood preschool</dc:creator>
		<pubDate>Thu, 01 Dec 2011 07:44:55 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=273#comment-32210</guid>
		<description>Its very nice article and i appreciate you for such nice info.</description>
		<content:encoded><![CDATA[<p>Its very nice article and i appreciate you for such nice info.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olav Nes</title>
		<link>http://buildinternet.com/2008/12/introduction-to-charts-with-flex-3/comment-page-1/#comment-31750</link>
		<dc:creator>Olav Nes</dc:creator>
		<pubDate>Sun, 23 Oct 2011 22:59:52 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=273#comment-31750</guid>
		<description>Maybe you could do a follow-up on how to customize these charts as well.

Olav</description>
		<content:encoded><![CDATA[<p>Maybe you could do a follow-up on how to customize these charts as well.</p>
<p>Olav</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://buildinternet.com/2008/12/introduction-to-charts-with-flex-3/comment-page-1/#comment-31094</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Fri, 16 Sep 2011 00:22:19 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=273#comment-31094</guid>
		<description>Great tutorial!  Thanks!</description>
		<content:encoded><![CDATA[<p>Great tutorial!  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Katrien</title>
		<link>http://buildinternet.com/2008/12/introduction-to-charts-with-flex-3/comment-page-1/#comment-30795</link>
		<dc:creator>Katrien</dc:creator>
		<pubDate>Thu, 25 Aug 2011 09:10:56 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=273#comment-30795</guid>
		<description>Solved. Problem was I never called/invoked the POST HTTPService in my Flex application. However, I&#039;ve since dropped the POST HTTPService altogether. I&#039;m only using a GET HTTPService with &lt;s:Request where I send the itemID to the server. In my php I use $_REQUEST, but I know I can also use $_GET.</description>
		<content:encoded><![CDATA[<p>Solved. Problem was I never called/invoked the POST HTTPService in my Flex application. However, I&#8217;ve since dropped the POST HTTPService altogether. I&#8217;m only using a GET HTTPService with &lt;s:Request where I send the itemID to the server. In my php I use $_REQUEST, but I know I can also use $_GET.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Katrien</title>
		<link>http://buildinternet.com/2008/12/introduction-to-charts-with-flex-3/comment-page-1/#comment-30753</link>
		<dc:creator>Katrien</dc:creator>
		<pubDate>Tue, 23 Aug 2011 09:46:54 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=273#comment-30753</guid>
		<description>Can&#039;t manage to get the code to display correctly.
The gist of it is: everything works fine; xml outputs correctly. Just can&#039;t POST the value...</description>
		<content:encoded><![CDATA[<p>Can&#8217;t manage to get the code to display correctly.<br />
The gist of it is: everything works fine; xml outputs correctly. Just can&#8217;t POST the value&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Katrien</title>
		<link>http://buildinternet.com/2008/12/introduction-to-charts-with-flex-3/comment-page-1/#comment-30752</link>
		<dc:creator>Katrien</dc:creator>
		<pubDate>Tue, 23 Aug 2011 09:44:17 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=273#comment-30752</guid>
		<description>Sorry, some of the Flex didn&#039;t appear. Here it is:




{1}

</description>
		<content:encoded><![CDATA[<p>Sorry, some of the Flex didn&#8217;t appear. Here it is:</p>
<p>{1}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Katrien</title>
		<link>http://buildinternet.com/2008/12/introduction-to-charts-with-flex-3/comment-page-1/#comment-30751</link>
		<dc:creator>Katrien</dc:creator>
		<pubDate>Tue, 23 Aug 2011 09:42:22 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=273#comment-30751</guid>
		<description>For some reason I cannot POST a value using HTTPService in Flex to my php file.
If I hardcode the value in the php it works 100%, using just the HTTPService with GET.
I need the xml result as dataProvider for a Flex graph and like I said, it works 100% and the graph displays correctly with a hardcoded value in the php.
If I test in the browser like so:
http://localhost/........my_url/myfile.php?itemID=1 I get an undefined index error and obviously if I run my Flex application I get no graph.
If I change the $_POST to $_GET in php and just test in browser I get the correct output.

Please help!

Here&#039;s the php:
&lt;?php header(&quot;Content-Type:text/xml&quot;);
echo &#039;&#039;;
//connection info
define(&quot;DATABASE_SERVER&quot;, &quot;localhost&quot;);
define(&quot;DATABASE_USERNAME&quot;, &quot;root&quot;);
define(&quot;DATABASE_PASSWORD&quot;, &quot;&quot;);
define(&quot;DATABASE_NAME&quot;, &quot;xx&quot;);

$dbc = mysqli_connect(DATABASE_SERVER, DATABASE_USERNAME, DATABASE_PASSWORD, DATABASE_NAME);

$itemID=$_POST[&#039;itemID&#039;];

$q = &quot;SELECT ID, Name FROM inventory where AreaID = $itemID&quot;;
$i=0;
$r = mysqli_query($dbc,$q);

while ($row=mysqli_fetch_array($r, MYSQLI_ASSOC)){
$i++;
echo &quot;
{$row[&quot;Designation&quot;]}
{$i}

&quot;;
} 
echo &#039;&#039;;
?&gt;

Here&#039;s the Flex:




{1}



[Bindable]
private var testInfo:XMLList;

private function xmlHandler(event:ResultEvent):void
{
testInfo = event.result.node;
testChart.dataProvider=testInfo;
}

protected function getChartData_resultHandler(event:ResultEvent):void
{
testData.send();
}</description>
		<content:encoded><![CDATA[<p>For some reason I cannot POST a value using HTTPService in Flex to my php file.<br />
If I hardcode the value in the php it works 100%, using just the HTTPService with GET.<br />
I need the xml result as dataProvider for a Flex graph and like I said, it works 100% and the graph displays correctly with a hardcoded value in the php.<br />
If I test in the browser like so:<br />
<a href="http://localhost/........my_url/myfile.php?itemID=1" rel="nofollow">http://localhost/&#8230;&#8230;..my_url/myfile.php?itemID=1</a> I get an undefined index error and obviously if I run my Flex application I get no graph.<br />
If I change the $_POST to $_GET in php and just test in browser I get the correct output.</p>
<p>Please help!</p>
<p>Here&#8217;s the php:<br />
&lt;?php header(&quot;Content-Type:text/xml&quot;);<br />
echo &#039;&#8217;;<br />
//connection info<br />
define(&#8220;DATABASE_SERVER&#8221;, &#8220;localhost&#8221;);<br />
define(&#8220;DATABASE_USERNAME&#8221;, &#8220;root&#8221;);<br />
define(&#8220;DATABASE_PASSWORD&#8221;, &#8220;&#8221;);<br />
define(&#8220;DATABASE_NAME&#8221;, &#8220;xx&#8221;);</p>
<p>$dbc = mysqli_connect(DATABASE_SERVER, DATABASE_USERNAME, DATABASE_PASSWORD, DATABASE_NAME);</p>
<p>$itemID=$_POST['itemID'];</p>
<p>$q = &#8220;SELECT ID, Name FROM inventory where AreaID = $itemID&#8221;;<br />
$i=0;<br />
$r = mysqli_query($dbc,$q);</p>
<p>while ($row=mysqli_fetch_array($r, MYSQLI_ASSOC)){<br />
$i++;<br />
echo &#8221;<br />
{$row["Designation"]}<br />
{$i}</p>
<p>&#8220;;<br />
}<br />
echo &#8221;;<br />
?&gt;</p>
<p>Here&#8217;s the Flex:</p>
<p>{1}</p>
<p>[Bindable]<br />
private var testInfo:XMLList;</p>
<p>private function xmlHandler(event:ResultEvent):void<br />
{<br />
testInfo = event.result.node;<br />
testChart.dataProvider=testInfo;<br />
}</p>
<p>protected function getChartData_resultHandler(event:ResultEvent):void<br />
{<br />
testData.send();<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: afjal</title>
		<link>http://buildinternet.com/2008/12/introduction-to-charts-with-flex-3/comment-page-1/#comment-29982</link>
		<dc:creator>afjal</dc:creator>
		<pubDate>Sat, 16 Jul 2011 07:04:19 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=273#comment-29982</guid>
		<description>how can i read local xml file in flex mobile project</description>
		<content:encoded><![CDATA[<p>how can i read local xml file in flex mobile project</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching using memcached
Object Caching 366/367 objects using disk: basic

Served from: buildinternet.com @ 2012-02-08 20:24:59 -->
