Recordsets into Flash MX

Hi All,

Can you take a recordset from SQL Server or MySQL into Flash MX without converting it into an array?

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?

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?

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…