View Full Version : Recordsets into Flash MX
andrthad
June 18th, 2003, 10:17 AM
Hi All,
Can you take a recordset from SQL Server or MySQL into Flash MX without converting it into an array?
Jubba
June 18th, 2003, 10:20 AM
you need to convert it into some sort of printed out version so Flash can read it.
I always use fetch_assoc($result) to print it out and have flash read it. Why do you not want to convert it to an array?
andrthad
June 18th, 2003, 10:27 AM
Hi Jubba,
Thanks for the response. I thought I might be able to skip a step by not converting to an array. I guess my main question was if Flash MX could work with recordsets, but you answered it when you said it has to be printed out. An array will work just fine.
Do you have any experience making bar graphs in Flash MX or know of any good links?
Jubba
June 18th, 2003, 10:31 AM
Yeah, Flash can't work directly with the database, you have to use a php page to print out the variables in a form that Flash can understand.
I don't have any experience, but I don't think it can be all that difficult... just setting the _yscale property to a certain variable... I don't know of any links tho..
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.