<?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: Flash CS3 DataGrid with AMFPHP &amp; MySQL</title>
	<atom:link href="http://wadearnold.com/blog/flash/amfphp/flash-cs3-datagrid-with-amfphp-mysql/feed" rel="self" type="application/rss+xml" />
	<link>http://wadearnold.com/blog/flash/amfphp/flash-cs3-datagrid-with-amfphp-mysql</link>
	<description>The spoils of the integration of PHP and ActionScript</description>
	<lastBuildDate>Tue, 17 Jan 2012 17:17:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Davmaul</title>
		<link>http://wadearnold.com/blog/flash/amfphp/flash-cs3-datagrid-with-amfphp-mysql/comment-page-2#comment-20262</link>
		<dc:creator>Davmaul</dc:creator>
		<pubDate>Thu, 07 Oct 2010 11:39:26 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=16#comment-20262</guid>
		<description>&lt;a href=&quot;#comment-13656&quot; rel=&quot;nofollow&quot;&gt;@Ricardo&lt;/a&gt; 
Hi, why dont you change it using SQL Select order as:
Select Product_id AS Identifier, QTY_IN_STOCK AS Stock FROM FROM Product</description>
		<content:encoded><![CDATA[<p><a href="#comment-13656" rel="nofollow">@Ricardo</a><br />
Hi, why dont you change it using SQL Select order as:<br />
Select Product_id AS Identifier, QTY_IN_STOCK AS Stock FROM FROM Product</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RobPrell</title>
		<link>http://wadearnold.com/blog/flash/amfphp/flash-cs3-datagrid-with-amfphp-mysql/comment-page-2#comment-18568</link>
		<dc:creator>RobPrell</dc:creator>
		<pubDate>Wed, 08 Sep 2010 23:51:38 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=16#comment-18568</guid>
		<description>You can dynamically change the names of the fields by altering your sql statement.  For example:

Select Name, Catagory, Image from Product

can be changed to:

Select Name as Customer, Catagory as BusinessLine, Image as Pic from Product

Dynamically changing the field names, changes the column names in the grid.</description>
		<content:encoded><![CDATA[<p>You can dynamically change the names of the fields by altering your sql statement.  For example:</p>
<p>Select Name, Catagory, Image from Product</p>
<p>can be changed to:</p>
<p>Select Name as Customer, Catagory as BusinessLine, Image as Pic from Product</p>
<p>Dynamically changing the field names, changes the column names in the grid.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ricardo</title>
		<link>http://wadearnold.com/blog/flash/amfphp/flash-cs3-datagrid-with-amfphp-mysql/comment-page-2#comment-13656</link>
		<dc:creator>Ricardo</dc:creator>
		<pubDate>Tue, 11 May 2010 14:02:24 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=16#comment-13656</guid>
		<description>Thank you so much for this.

That Class is very helpful.
But I&#039;ve been wondering if it was possible to change the name of the columns in Flash. I don&#039;t want them to be named after their fields in the DB. But if I change their names manually, the data isn&#039;t stored in the DataGrid. Do you have any thoughts on this?

Once again, thanks for your work. :)</description>
		<content:encoded><![CDATA[<p>Thank you so much for this.</p>
<p>That Class is very helpful.<br />
But I&#8217;ve been wondering if it was possible to change the name of the columns in Flash. I don&#8217;t want them to be named after their fields in the DB. But if I change their names manually, the data isn&#8217;t stored in the DataGrid. Do you have any thoughts on this?</p>
<p>Once again, thanks for your work. <img src='http://wadearnold.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SEM</title>
		<link>http://wadearnold.com/blog/flash/amfphp/flash-cs3-datagrid-with-amfphp-mysql/comment-page-2#comment-10745</link>
		<dc:creator>SEM</dc:creator>
		<pubDate>Wed, 03 Mar 2010 12:19:37 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=16#comment-10745</guid>
		<description>Yo,

I need some help.
I put that code in AS in my .fla file

var test:Main = new Main();
var testo:ArrayCollectionDP = new ArrayCollectionDP();

but i recieve that error. I&#039;m probably doing something wrong. Can someone more experienced help me with this so i can run that datagrid?

1120: Access of undefined property getProducts_btn.
1120: Access of undefined property products_dg.

Thanks</description>
		<content:encoded><![CDATA[<p>Yo,</p>
<p>I need some help.<br />
I put that code in AS in my .fla file</p>
<p>var test:Main = new Main();<br />
var testo:ArrayCollectionDP = new ArrayCollectionDP();</p>
<p>but i recieve that error. I&#8217;m probably doing something wrong. Can someone more experienced help me with this so i can run that datagrid?</p>
<p>1120: Access of undefined property getProducts_btn.<br />
1120: Access of undefined property products_dg.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonny D</title>
		<link>http://wadearnold.com/blog/flash/amfphp/flash-cs3-datagrid-with-amfphp-mysql/comment-page-2#comment-10691</link>
		<dc:creator>Jonny D</dc:creator>
		<pubDate>Tue, 02 Mar 2010 22:53:48 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=16#comment-10691</guid>
		<description>&lt;a href=&quot;#comment-120&quot; rel=&quot;nofollow&quot;&gt;@Andy Cook&lt;/a&gt; 
I have the same error... does anybody have a fix for this? Thanks</description>
		<content:encoded><![CDATA[<p><a href="#comment-120" rel="nofollow">@Andy Cook</a><br />
I have the same error&#8230; does anybody have a fix for this? Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PixelMaker</title>
		<link>http://wadearnold.com/blog/flash/amfphp/flash-cs3-datagrid-with-amfphp-mysql/comment-page-2#comment-8940</link>
		<dc:creator>PixelMaker</dc:creator>
		<pubDate>Mon, 11 Jan 2010 20:26:21 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=16#comment-8940</guid>
		<description>Hi,

Thanks for sharing it.

When I tried this one I got an error 
Main.as, Line 3    
1046: Type was not found or was not a compile-time constant: Simple Button
import flash.display.MovieClip;

Please help me to solve this.

Thanks,
-PM.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for sharing it.</p>
<p>When I tried this one I got an error<br />
Main.as, Line 3<br />
1046: Type was not found or was not a compile-time constant: Simple Button<br />
import flash.display.MovieClip;</p>
<p>Please help me to solve this.</p>
<p>Thanks,<br />
-PM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohammed</title>
		<link>http://wadearnold.com/blog/flash/amfphp/flash-cs3-datagrid-with-amfphp-mysql/comment-page-2#comment-8266</link>
		<dc:creator>Mohammed</dc:creator>
		<pubDate>Mon, 21 Dec 2009 12:53:52 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=16#comment-8266</guid>
		<description>can i edit directly at datagrid ?
example:
make datagrid editable from datagrid properties (component inspector)

and when we insert value in datagrid
automaticly updating the mysql database

can we do that ????</description>
		<content:encoded><![CDATA[<p>can i edit directly at datagrid ?<br />
example:<br />
make datagrid editable from datagrid properties (component inspector)</p>
<p>and when we insert value in datagrid<br />
automaticly updating the mysql database</p>
<p>can we do that ????</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rodolfo</title>
		<link>http://wadearnold.com/blog/flash/amfphp/flash-cs3-datagrid-with-amfphp-mysql/comment-page-2#comment-6783</link>
		<dc:creator>Rodolfo</dc:creator>
		<pubDate>Sun, 01 Nov 2009 15:13:56 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=16#comment-6783</guid>
		<description>Anyone resolve the order of columns in datagrid?...

Thanks and let me know the way to do that...</description>
		<content:encoded><![CDATA[<p>Anyone resolve the order of columns in datagrid?&#8230;</p>
<p>Thanks and let me know the way to do that&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fletch</title>
		<link>http://wadearnold.com/blog/flash/amfphp/flash-cs3-datagrid-with-amfphp-mysql/comment-page-2#comment-6566</link>
		<dc:creator>Fletch</dc:creator>
		<pubDate>Sat, 24 Oct 2009 22:45:26 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=16#comment-6566</guid>
		<description>How can I pull my data from my database, run it through this script and only place certain fields from my database into the datagrid?  

I only need 3 columns in the grid but when clicked on, I need the rest of the data to do different things.</description>
		<content:encoded><![CDATA[<p>How can I pull my data from my database, run it through this script and only place certain fields from my database into the datagrid?  </p>
<p>I only need 3 columns in the grid but when clicked on, I need the rest of the data to do different things.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TroyWorks</title>
		<link>http://wadearnold.com/blog/flash/amfphp/flash-cs3-datagrid-with-amfphp-mysql/comment-page-2#comment-4375</link>
		<dc:creator>TroyWorks</dc:creator>
		<pubDate>Mon, 31 Aug 2009 00:09:07 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=16#comment-4375</guid>
		<description>Thanks for the great tutorials Wade (including those provided with amfphp), I was brand new to php amfphp (1.9) and mysql, the progression from HelloWorld to this Example was great, though I had a few issues:

1) View Source to get the Sql, if you can&#039;t see it fully on this page. Copy it from there, else you might get errors trying to execute it.
2) Copy the php from the webpage not the source, as  &quot;$this-&gt;dbh&quot;  gets escaped and causes php errors.
3) you may have to replace double quotes  as well.
4) the ProductService.php file should be in the amfphp/services/ProductService.php not in amfphp/classes 
5) use a simple database test php prior to getting the actionscript.  At least for me the wizard that sets up the database truncated the domainid prefix needed to actually connect.

&lt;?php
   mysql_connect(&quot;localhost&quot;, &quot;SOMEDOMAIN_SOMEDBUSERID&quot;, &quot;SomeDBUSERIDPASSWORD&quot;) or die(mysql_error());
   echo &quot;Connection to the server was successful!&quot;;
 
   mysql_select_db(&quot;SOMEDOMAIN_SOMEDB&quot;) or die(mysql_error());
   echo &quot;Database was selected!&quot;;
?&gt;</description>
		<content:encoded><![CDATA[<p>Thanks for the great tutorials Wade (including those provided with amfphp), I was brand new to php amfphp (1.9) and mysql, the progression from HelloWorld to this Example was great, though I had a few issues:</p>
<p>1) View Source to get the Sql, if you can&#8217;t see it fully on this page. Copy it from there, else you might get errors trying to execute it.<br />
2) Copy the php from the webpage not the source, as  &#8220;$this-&gt;dbh&#8221;  gets escaped and causes php errors.<br />
3) you may have to replace double quotes  as well.<br />
4) the ProductService.php file should be in the amfphp/services/ProductService.php not in amfphp/classes<br />
5) use a simple database test php prior to getting the actionscript.  At least for me the wizard that sets up the database truncated the domainid prefix needed to actually connect.</p>
<p>&lt;?php<br />
   mysql_connect(&#8220;localhost&#8221;, &#8220;SOMEDOMAIN_SOMEDBUSERID&#8221;, &#8220;SomeDBUSERIDPASSWORD&#8221;) or die(mysql_error());<br />
   echo &#8220;Connection to the server was successful!&#8221;;</p>
<p>   mysql_select_db(&#8220;SOMEDOMAIN_SOMEDB&#8221;) or die(mysql_error());<br />
   echo &#8220;Database was selected!&#8221;;<br />
?&gt;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
