troubleshooting Question

Using encoder and formatter settings on a FLASH DataSet component

Avatar of scsherwood
scsherwood asked on
PHPAdobe Flash
1 Comment1 Solution206 ViewsLast Modified:
I am using AMFPHP to connect Flash to an online mySQL Database.  I've written PHP class functions that query the database and return the query information to Flash. I take the query information returned and set the DataSet.dataProvider = to this query information.  One of the fields coming back from the database is a date field (string) in the format 'YYYY-MM-DD'.  I would like this field to be displayed in a DataGrid component that I have bound to my DataSet component in the format 'MM/DD/YYYY'.  It seems to me that the DataSet encoder and Dataset formatter would allow me to do this translation.  Unfortunately, I have tried every permutation I can think of and I still can't get the encoder or formatter to translate the date into the right format.  Does anyone know how to use the encoder or formatters on the DataSet?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 1 Comment.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros