<?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>Wed, 24 Feb 2010 08:48:53 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<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(&#8221;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(&#8221;SOMEDOMAIN_SOMEDB&#8221;) or die(mysql_error());<br />
   echo &#8220;Database was selected!&#8221;;<br />
?&gt;</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-4374</link>
		<dc:creator>TroyWorks</dc:creator>
		<pubDate>Mon, 31 Aug 2009 00:05:17 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=16#comment-4374</guid>
		<description>&lt;a href=&quot;#comment-2743&quot; rel=&quot;nofollow&quot;&gt;@Thomas&lt;/a&gt; 

That&#039;s a neat idea Thomas, but that is pretty risky sending SQL across the wire as XML, totally opening youself for SQL injection attacks.</description>
		<content:encoded><![CDATA[<p><a href="#comment-2743" rel="nofollow">@Thomas</a> </p>
<p>That&#8217;s a neat idea Thomas, but that is pretty risky sending SQL across the wire as XML, totally opening youself for SQL injection attacks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: likish</title>
		<link>http://wadearnold.com/blog/flash/amfphp/flash-cs3-datagrid-with-amfphp-mysql/comment-page-2#comment-2805</link>
		<dc:creator>likish</dc:creator>
		<pubDate>Mon, 13 Jul 2009 16:55:20 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=16#comment-2805</guid>
		<description>can someone pls upload a link to a php script that populates the datagrid from a data base or explain the TODO.

I have my database returning into my AMFphp browser but i cant get the info into flash. I keep on getting the following errors

TypeError: Error: Type Coercion failed: cannot convert [object Object] to Array or DataProvider.
	at fl.data::DataProvider/getDataFromObject()
	at fl.data::DataProvider/addItemsAt()
	at fl.data::DataProvider/addItems()
	at Main/onResult()

If anyone could pls hepl me out it would be much appreciated as I have been trying to for a week.

thanks</description>
		<content:encoded><![CDATA[<p>can someone pls upload a link to a php script that populates the datagrid from a data base or explain the TODO.</p>
<p>I have my database returning into my AMFphp browser but i cant get the info into flash. I keep on getting the following errors</p>
<p>TypeError: Error: Type Coercion failed: cannot convert [object Object] to Array or DataProvider.<br />
	at fl.data::DataProvider/getDataFromObject()<br />
	at fl.data::DataProvider/addItemsAt()<br />
	at fl.data::DataProvider/addItems()<br />
	at Main/onResult()</p>
<p>If anyone could pls hepl me out it would be much appreciated as I have been trying to for a week.</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://wadearnold.com/blog/flash/amfphp/flash-cs3-datagrid-with-amfphp-mysql/comment-page-2#comment-2743</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Tue, 07 Jul 2009 12:22:22 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=16#comment-2743</guid>
		<description>For those of you who have problems with datagrid database integration, look at this FlashDen Item:

http://flashden.net/item/flash-to-mysql-dynamic-datagrid/29687

PM admin@worldofrunes.com if you want a 25 %discount</description>
		<content:encoded><![CDATA[<p>For those of you who have problems with datagrid database integration, look at this FlashDen Item:</p>
<p><a href="http://flashden.net/item/flash-to-mysql-dynamic-datagrid/29687" rel="nofollow">http://flashden.net/item/flash-to-mysql-dynamic-datagrid/29687</a></p>
<p>PM <a href="mailto:admin@worldofrunes.com">admin@worldofrunes.com</a> if you want a 25 %discount</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tiago</title>
		<link>http://wadearnold.com/blog/flash/amfphp/flash-cs3-datagrid-with-amfphp-mysql/comment-page-2#comment-2688</link>
		<dc:creator>Tiago</dc:creator>
		<pubDate>Sat, 13 Jun 2009 04:08:11 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=16#comment-2688</guid>
		<description>Hi, first of all thanks for sharing, but im having trouble implementing this, it gives me this error:

TypeError: Error #1010: Um termo é indefinido e não tem propriedades.
	at ArrayCollectionDP$/toDataProvider()
	at config_fla::MainTimeline/onResult()

in the amfphp browser the function returns me this:

Array)#0
  [0] (Object)#1
    id = &quot;1&quot;
    key = &quot;website_root&quot;
    name = &quot;Website Root&quot;
    value = &quot;http://localhost/&quot;
  [1] (Object)#2
    id = &quot;2&quot;
    key = &quot;website_name&quot;
    name = &quot;Website Name&quot;
    value = &quot;BackOffice v0.1 (beta)&quot;

and im calling the class like this:
this.myDatagrid.dataProvider = ArrayCollectionDP.toDataProvider(responds);

cant seem to find what the problem is, using CS4 btw

thanks!</description>
		<content:encoded><![CDATA[<p>Hi, first of all thanks for sharing, but im having trouble implementing this, it gives me this error:</p>
<p>TypeError: Error #1010: Um termo é indefinido e não tem propriedades.<br />
	at ArrayCollectionDP$/toDataProvider()<br />
	at config_fla::MainTimeline/onResult()</p>
<p>in the amfphp browser the function returns me this:</p>
<p>Array)#0<br />
  [0] (Object)#1<br />
    id = &#8220;1&#8243;<br />
    key = &#8220;website_root&#8221;<br />
    name = &#8220;Website Root&#8221;<br />
    value = &#8220;http://localhost/&#8221;<br />
  [1] (Object)#2<br />
    id = &#8220;2&#8243;<br />
    key = &#8220;website_name&#8221;<br />
    name = &#8220;Website Name&#8221;<br />
    value = &#8220;BackOffice v0.1 (beta)&#8221;</p>
<p>and im calling the class like this:<br />
this.myDatagrid.dataProvider = ArrayCollectionDP.toDataProvider(responds);</p>
<p>cant seem to find what the problem is, using CS4 btw</p>
<p>thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Floris</title>
		<link>http://wadearnold.com/blog/flash/amfphp/flash-cs3-datagrid-with-amfphp-mysql/comment-page-2#comment-2481</link>
		<dc:creator>Floris</dc:creator>
		<pubDate>Tue, 05 May 2009 15:55:26 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=16#comment-2481</guid>
		<description>WordPress converted my double - (minus) into single ones. Please use a double - in the whiles!</description>
		<content:encoded><![CDATA[<p>WordPress converted my double &#8211; (minus) into single ones. Please use a double &#8211; in the whiles!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
